chore: fix typos in CronService

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
This commit is contained in:
Benjamin Gaussorgues 2026-05-12 11:32:20 +02:00
parent ac15544703
commit fb234092bb
No known key found for this signature in database

View file

@ -163,7 +163,7 @@ class CronService {
return;
}
$message = 'Uncatched error when running job ' . $this->currentJob->getId() . ': ' . $error['message'];
$message = 'Uncaught error when running job ' . $this->currentJob->getId() . ': ' . $error['message'];
$this->logger->error($message);
$this->verboseOutput($message);
if ($this->currentJob instanceof IJob) {
@ -248,7 +248,7 @@ class CronService {
}
}
// Makes sure last error isn't catched by shutdown function
// Makes sure last error isn't caught by shutdown function
error_clear_last();
}