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 fa16fe1 commit 78b5ce8Copy full SHA for 78b5ce8
src/Log/Prometheus.php
@@ -76,7 +76,7 @@ public function onBackupEnd(Event\Backup\End $event)
76
{
77
$this->backupStats[$event->getConfiguration()->getName()]['timeEnd'] = microtime(true);
78
$this->backupStats[$event->getConfiguration()->getName()]['lastRun'] = microtime(true);
79
- $this->backupStats[$event->getConfiguration()->getName()]['size'] = $event->getTarget()->getSize();
+ $this->backupStats[$event->getConfiguration()->getName()]['size'] = $event->getTarget()->getSize() ?? 0;
80
}
81
82
/**
0 commit comments