diff --git a/src/Commands/BackupCommand.php b/src/Commands/BackupCommand.php index 42b60a4f..30b19cd0 100644 --- a/src/Commands/BackupCommand.php +++ b/src/Commands/BackupCommand.php @@ -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)); }