Skip to content

Commit

Permalink
Merge branch '6.0' of https://github.com/top-think/framework into 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liu21st committed Dec 24, 2019
2 parents 0c8335c + 2e57ce8 commit 501f3dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/think/exception/Handle.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ public function report(Throwable $exception): void
$log .= PHP_EOL . $exception->getTraceAsString();
}

$this->app->log->record($log, 'error');
try {
$this->app->log->record($log, 'error');
} catch (Exception $e){}
}
}

Expand Down

0 comments on commit 501f3dd

Please sign in to comment.