summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormortee <mortee.github@kavemalna.hu>2024-02-16 12:16:00 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2024-02-21 09:16:30 +0100
commitf5a5caa3cc14e5d86d3e934697fd6becbff5ba7f (patch)
tree16bfcbcf415063fd45a8dc387823d4192c441d28 /lib
parentd90769d2c6e6dfaa47d1a1c67361b635b1b793dc (diff)
output clearer error message
Co-authored-by: Sean Molenaar <SMillerDev@users.noreply.github.com> Signed-off-by: mortee <mortee.github@kavemalna.hu>
Diffstat (limited to 'lib')
-rw-r--r--lib/Command/Updater/Job.php2
1 files changed, 1 insertions, 1 deletions
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;
}
}