mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-30 22:34:01 -05:00
Log errors
This commit is contained in:
parent
443e624cf0
commit
f68eba14e7
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ class JobQueueManager {
|
|||
}
|
||||
|
||||
async handleJobError(job, jobMetadata, error) {
|
||||
logging.error('Error in job queue:', error);
|
||||
let errorMessage;
|
||||
if (error instanceof Error) {
|
||||
errorMessage = error.message;
|
||||
|
|
Loading…
Reference in a new issue