reduce logging

This commit is contained in:
Daniil Gentili 2017-04-27 12:02:50 +02:00
parent 10e5346ae8
commit 0181eaa2ca

View File

@ -29,6 +29,7 @@ class Exception extends \Exception
if (in_array($message, ['Re-executing query...', 'I had to recreate the temporary authorization key', 'This peer is not present in the internal peer database', "Couldn't get response"])) {
return;
}
if (strpos($message, 'Received request to switch to DC ') !== false) return;
\Rollbar\Rollbar::log($this, debug_backtrace(), 'error');
}