We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d61162d commit 74e0744Copy full SHA for 74e0744
src/HealthySqlDump.php
@@ -46,15 +46,13 @@ public function checkHealth(BackupDestination $backupDestination)
46
return;
47
}
48
49
-
50
try {
51
Cache::put($key, true, now()->addHour()); // Ensure we don't start multiple checks simultaneously
52
53
$this->performCheck($backupDestination, $newestBackup);
54
55
Cache::put($key, true, now()->addWeek());
56
- }
57
- catch (\Exception $exception) {
+ } catch (\Exception $exception) {
58
Cache::put($key, false, now()->addWeek());
59
60
throw $exception;
0 commit comments