Added Sentry error logging on the server side.
This commit is contained in:
parent
cbd84b8345
commit
28c97ef8ba
4 changed files with 1467 additions and 8 deletions
public
|
@ -10,6 +10,8 @@ use Sasae\SasaeEnvironment;
|
|||
require_once __DIR__ . '/../misuzu.php';
|
||||
|
||||
set_exception_handler(function(\Throwable $ex) {
|
||||
\Sentry\captureException($ex);
|
||||
|
||||
http_response_code(500);
|
||||
ob_clean();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue