Skip to content

Commit

Permalink
Update ExceptionHandler.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanson authored Sep 10, 2018
1 parent 3c39601 commit 14db4d7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Foundation/ExceptionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ public function handleError($level, $message, $file = '', $line = 0)
*/
public function handleException(Throwable $e)
{
if (!$e instanceof Exception) {
$e = new FatalThrowableError($e);
}

$this->vbot->log->error($e->getMessage());

$this->report($e);
Expand Down

0 comments on commit 14db4d7

Please sign in to comment.