Skip to content

Commit

Permalink
console template/layout on error
Browse files Browse the repository at this point in the history
  • Loading branch information
vdvibhu20 committed Jan 30, 2022
1 parent 9d6d7ea commit f7f72cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/plugins/worker/handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ module.exports = {
// 4. Cleanup
fs.unlinkSync(outPath)
} catch(err) {
console.log('certificateTemplate: ', data.template)
U.sendCallback(callback, {
secret: config.appSecret,
certificateId: data.certificateId,
Expand Down Expand Up @@ -131,6 +132,7 @@ module.exports = {
url: linkForKey(bucketName, destKeyName),
})
} catch(err) {
console.log('certificateLayout: ',data.layoutId)
Raven.captureException(err)
U.sendCallback(data.callback, {
secret: config.appSecret,
Expand Down

0 comments on commit f7f72cc

Please sign in to comment.