This commit is contained in:
Andras Bacsai committed 2023-08-11 10:42:57 +02:00
1 parent c26407fa7e
commit 662b191dfd
7 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ class DatabaseBackupJob implements ShouldQueue
$this->backup_status = 'failed';
$this->add_to_backup_output($th->getMessage());
ray('Backup failed for ' . $this->database->uuid . ' at ' . $this->server->name . ':' . $this->backup_filename . '\n\nError:' . $th->getMessage());
$this->team->notify(new BackupFailed($this->backup, $this->database));
$this->team->notify(new BackupFailed($this->backup, $this->database, $this->backup_output));
} finally {
$this->backup_log->update([
'status' => $this->backup_status,