Skip to content

Commit 934a591

Browse files
elderingvmcj
authored andcommitted
Bugfix: add an error message level.
This way the error coming from the exception is actually displayed. (cherry picked from commit 456afe6)
1 parent db318fb commit 934a591

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webapp/src/Controller/Jury/ImportExportController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ public function indexAction(Request $request): Response
188188
return $this->redirectToRoute('jury_problems');
189189
}
190190
} catch (Exception $e) {
191-
$allMessages[] = $e->getMessage();
191+
$allMessages['danger'][] = $e->getMessage();
192192
} finally {
193193
if (isset($zip)) {
194194
$zip->close();

0 commit comments

Comments
 (0)