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();