From c031d8bc445f03609df03ec5e5855af05ee3e111 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 27 Apr 2017 10:03:11 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/danog/MadelineProto/Exception.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/danog/MadelineProto/Exception.php b/src/danog/MadelineProto/Exception.php index 089cb753..53f2aaf2 100644 --- a/src/danog/MadelineProto/Exception.php +++ b/src/danog/MadelineProto/Exception.php @@ -29,7 +29,9 @@ 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; + if (strpos($message, 'Received request to switch to DC ') !== false) { + return; + } \Rollbar\Rollbar::log($this, debug_backtrace(), 'error'); }