From f5a5caa3cc14e5d86d3e934697fd6becbff5ba7f Mon Sep 17 00:00:00 2001 From: mortee Date: Fri, 16 Feb 2024 12:16:00 +0100 Subject: output clearer error message Co-authored-by: Sean Molenaar Signed-off-by: mortee --- lib/Command/Updater/Job.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Command/Updater/Job.php b/lib/Command/Updater/Job.php index d6fa4a5aa..e3ecaf1e0 100644 --- a/lib/Command/Updater/Job.php +++ b/lib/Command/Updater/Job.php @@ -91,7 +91,7 @@ class Job extends Command $threshold = ($updateInterval * 2) + 900; $elapsedSeconds = $now->getTimestamp() - $date->getTimestamp(); if ($elapsedSeconds > $threshold) { - $output->writeln("Something's wrong."); + $output->writeln("Something is wrong with the news cronjob, execution delay exceeded the configured interval."); return 2; } } -- cgit v1.2.3