Better error message

This commit is contained in:
Laurent Destailleur
2024-04-28 23:01:35 +02:00
parent a08714e6d7
commit 3f23e94701

View File

@@ -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);
}