delete fortify, jetstream
This commit is contained in:
@@ -17,11 +17,15 @@ class Handler extends ExceptionHandler
|
||||
{
|
||||
public function report(Throwable $e): void
|
||||
{
|
||||
if (
|
||||
app()->environment('local') || app()->environment('production')
|
||||
|| app()->environment('LOCAL') || app()->environment('DEV')
|
||||
) {
|
||||
$this->sendSlackException($e);
|
||||
try {
|
||||
if (
|
||||
app()->environment('local') || app()->environment('production')
|
||||
|| app()->environment('LOCAL') || app()->environment('DEV')
|
||||
) {
|
||||
$this->sendSlackException($e);
|
||||
}
|
||||
} catch (\Throwable $ex) {
|
||||
// app()이 아직 사용 불가하거나 env 문제가 있을 때는 무시
|
||||
}
|
||||
|
||||
parent::report($e); // 로그는 그대로
|
||||
|
||||
Reference in New Issue
Block a user