diff options
| author | winter | 2025-01-14 17:28:13 +0000 |
|---|---|---|
| committer | winter | 2025-01-14 17:28:13 +0000 |
| commit | 2082bfe9a378a90b33d4ab5c05dbb19a3457bef6 (patch) | |
| tree | 3eb3ec3f43f200505fd35c035298e38565d4f716 /Digitigrade/JobQueue.php | |
| parent | a9148c53a92a5564fde0ab6f184f7b65deba9a7f (diff) | |
summarise exception in any job failure
Diffstat (limited to 'Digitigrade/JobQueue.php')
| -rw-r--r-- | Digitigrade/JobQueue.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Digitigrade/JobQueue.php b/Digitigrade/JobQueue.php index 53e5032..0a86426 100644 --- a/Digitigrade/JobQueue.php +++ b/Digitigrade/JobQueue.php @@ -84,7 +84,8 @@ class JobQueue extends Singleton { $log->warning( 'A job of type ' . $job::class . ' (id ' . $beanJob->getId() . ') failed. ' . 'Resubmitted as ' . $id->getId() . '; ' - . $job->remainingTries . ' retries remaining' + . $job->remainingTries . ' retries remaining. ' + . $e::class . ': ' . $e->getMessage() ); } } |
