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.
2 parents 9a5fb8c + 75be9d7 commit 3e3d87aCopy full SHA for 3e3d87a
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