From 2b9176e229e5695caf334853181c572a61f0d138 Mon Sep 17 00:00:00 2001 From: Hamza-Ayed Date: Fri, 24 Apr 2026 21:18:48 +0300 Subject: [PATCH] llll;ll123Scurity:6 \Fix HMAC handshake, generate API keys in Google Login, and relax JWT issuer --- app/Http/Controllers/NotificationController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/NotificationController.php b/app/Http/Controllers/NotificationController.php index 23636af..9137e83 100644 --- a/app/Http/Controllers/NotificationController.php +++ b/app/Http/Controllers/NotificationController.php @@ -81,10 +81,10 @@ class NotificationController extends Controller 'status' => 'success', 'affected' => $affected ]); - } catch (\Exception $e) { + } catch (\Throwable $e) { return response()->json([ 'status' => 'failure', - 'message' => 'Internal error: ' . $e->getMessage() + 'message' => 'Internal error: ' . $e->getMessage() . ' in ' . $e->getFile() . ':' . $e->getLine() ], 500); } }