Skip to content

Commit fb23409

Browse files
committed
chore: fix typos in CronService
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
1 parent ac15544 commit fb23409

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/Service/CronService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private function runCli(string $appMode, ?array $jobClasses): void {
163163
return;
164164
}
165165

166-
$message = 'Uncatched error when running job ' . $this->currentJob->getId() . ': ' . $error['message'];
166+
$message = 'Uncaught error when running job ' . $this->currentJob->getId() . ': ' . $error['message'];
167167
$this->logger->error($message);
168168
$this->verboseOutput($message);
169169
if ($this->currentJob instanceof IJob) {
@@ -248,7 +248,7 @@ private function runCli(string $appMode, ?array $jobClasses): void {
248248
}
249249
}
250250

251-
// Makes sure last error isn't catched by shutdown function
251+
// Makes sure last error isn't caught by shutdown function
252252
error_clear_last();
253253
}
254254

0 commit comments

Comments
 (0)