From 3f23e947010d76b246ddbc50ef39cd449ef39fdf Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 28 Apr 2024 23:01:35 +0200 Subject: [PATCH] Better error message --- scripts/cron/cron_run_jobs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cron/cron_run_jobs.php b/scripts/cron/cron_run_jobs.php index 279e4489e70..7908b5b601a 100755 --- a/scripts/cron/cron_run_jobs.php +++ b/scripts/cron/cron_run_jobs.php @@ -102,7 +102,7 @@ if (!isModEnabled('cron')) { // Check security key if ($key != getDolGlobalString('CRON_KEY')) { - print "Error: securitykey is wrong\n"; + print "Error: securitykey provided ".substr($key, 0, 5)."... does not match securitykey in setup.\n"; exit(1); }