Skip to content

Commit

Permalink
Report failed backup exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVanderbist committed Mar 8, 2022
1 parent e6883aa commit e8148bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Commands/BackupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public function handle()
} catch (Exception $exception) {
consoleOutput()->error("Backup failed because: {$exception->getMessage()}.");

report($exception);

if (! $disableNotifications) {
event(new BackupHasFailed($exception));
}
Expand Down

0 comments on commit e8148bc

Please sign in to comment.