show error messages

this helps debugging failed jobs
This commit is contained in:
HB9HIL
2024-08-23 00:36:48 +02:00
committed by GitHub
parent 1a41577ff1
commit 91944570db

View File

@@ -105,7 +105,7 @@ class cron extends CI_Controller {
echo "CRON: " . $cron->id . " -> CURL Result: " . $crun . "\n";
$status = 'healthy';
} else {
echo "ERROR: Something went wrong with " . $cron->id . "\n";
echo "ERROR: Something went wrong with " . $cron->id . "; Message: " . $crun . "\n";
$status = 'failed';
}
} else {