Merge pull request #4979 from Budibase/automation-trace

Add trace to automation errors
This commit is contained in:
Rory Powell 2022-03-21 14:27:46 +00:00 committed by GitHub
commit cd3f606cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ exports.processEvent = async job => {
console.error( console.error(
`${job.data.automation.appId} automation ${job.data.automation._id} was unable to run - ${err}` `${job.data.automation.appId} automation ${job.data.automation._id} was unable to run - ${err}`
) )
console.trace(err)
return { err } return { err }
} }
} }