mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-27 13:14:40 +01:00
Apply fixes from StyleCI
This commit is contained in:
parent
6997826bf4
commit
6143598de0
@ -20,8 +20,12 @@ class Exception extends \Exception
|
|||||||
if (\danog\MadelineProto\Logger::$constructed && $this->file !== __FILE__) {
|
if (\danog\MadelineProto\Logger::$constructed && $this->file !== __FILE__) {
|
||||||
\danog\MadelineProto\Logger::log([$message.' in '.basename($this->file).':'.$this->line], \danog\MadelineProto\Logger::FATAL_ERROR);
|
\danog\MadelineProto\Logger::log([$message.' in '.basename($this->file).':'.$this->line], \danog\MadelineProto\Logger::FATAL_ERROR);
|
||||||
}
|
}
|
||||||
if ($line !== null) $this->line = $line;
|
if ($line !== null) {
|
||||||
if ($file !== null) $this->file = $file;
|
$this->line = $line;
|
||||||
|
}
|
||||||
|
if ($file !== null) {
|
||||||
|
$this->file = $file;
|
||||||
|
}
|
||||||
\Rollbar\Rollbar::log($this);
|
\Rollbar\Rollbar::log($this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user