Even less logging
This commit is contained in:
parent
4610ccfb85
commit
6b61be2923
@ -29,7 +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", 'Chat forbidden'])) {
|
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", 'Chat forbidden'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (strpos($message, 'Received request to switch to DC ') !== false || strpos($message, 'Re-executing query...') !== false) {
|
if (strpos($message, 'Received request to switch to DC ') !== false || strpos($message, 'Re-executing query...') !== false || strpos($message, "Couldn't find peer by provided") !== false) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
\Rollbar\Rollbar::log(\Rollbar\Payload\Level::error(), $this, debug_backtrace(0));
|
\Rollbar\Rollbar::log(\Rollbar\Payload\Level::error(), $this, debug_backtrace(0));
|
||||||
|
Loading…
Reference in New Issue
Block a user