diff options
Diffstat (limited to 'apis')
-rw-r--r-- | apis/cron.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apis/cron.inc.php b/apis/cron.inc.php index 4a980fed..75d7f132 100644 --- a/apis/cron.inc.php +++ b/apis/cron.inc.php @@ -96,7 +96,7 @@ foreach (Hook::load('cron') as $hook) { handleModule($hook->file); } catch (Exception $e) { // Logging - EventLog::failure('Cronjob for module ' . $hook->moduleId . ' has crashed. Check the php or web server error log.', $e->toString()); + EventLog::failure('Cronjob for module ' . $hook->moduleId . ' has crashed. Check the php or web server error log.', $e->getMessage()); } Property::removeFromList(CRON_KEY_STATUS, $value); } |