From 8a8604e89701386ab1d21c59e8e5eaa877c81d35 Mon Sep 17 00:00:00 2001 From: Julian Prieber Date: Sat, 10 Feb 2024 18:14:36 +0100 Subject: [PATCH] Bugfix --- app/Http/Controllers/UserController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 051f455f..5aa52535 100755 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -1189,7 +1189,7 @@ public function importData(Request $request) ]); if ($validatedData->fails()) { - print_r($linkData); die; + throw new \Exception('Invalid link'); } $newLink = new Link();