From f7f72cc8076c4a44569eec79e7598070d8b235f7 Mon Sep 17 00:00:00 2001 From: Vibhu Dujari Date: Sun, 30 Jan 2022 23:15:27 +0530 Subject: [PATCH] console template/layout on error --- src/plugins/worker/handlers.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/worker/handlers.js b/src/plugins/worker/handlers.js index 6f5e638..b5bdf88 100644 --- a/src/plugins/worker/handlers.js +++ b/src/plugins/worker/handlers.js @@ -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, @@ -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,