Skip to content

Commit

Permalink
Merge pull request #2920 from boracakirel/log-import-errors
Browse files Browse the repository at this point in the history
Log import errors
  • Loading branch information
cuneytsenturk committed Mar 9, 2023
2 parents 044e864 + 1acdaf7 commit 9c3f635
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/Utilities/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public static function fromExcel($class, Request $request, string $translation):
['type' => $translation]
);
} catch (Throwable $e) {
report($e);

$message = self::flashFailures($e);

$success = false;
Expand Down

0 comments on commit 9c3f635

Please sign in to comment.