Skip to content

Commit 8a8604e

Browse files
committed
Bugfix
1 parent 59b7c3e commit 8a8604e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/UserController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ public function importData(Request $request)
11891189
]);
11901190

11911191
if ($validatedData->fails()) {
1192-
print_r($linkData); die;
1192+
throw new \Exception('Invalid link');
11931193
}
11941194

11951195
$newLink = new Link();

0 commit comments

Comments
 (0)