From b7c7bf5acc81ec6353772a4bce4db9123c95a2ef Mon Sep 17 00:00:00 2001 From: GermanBluefox Date: Thu, 8 Dec 2022 10:00:10 +0100 Subject: [PATCH] Corrected npm collaborators detection --- README.md | 3 +++ index.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fbc701f..a6cf570 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,9 @@ Branch (`master/main/dev`) is optional. --> ## Changelog +### **WORK IN PROGRESS** +* (bluefox) added better error logging + ### 2.1.5 (2022-12-07) * (bluefox) added check of `.releaseconfig.json` file diff --git a/index.js b/index.js index ce88646..e05b9bc 100644 --- a/index.js +++ b/index.js @@ -1944,7 +1944,7 @@ function check(request, ctx, callback) { })); }) .catch(err => { - console.error('GLOBAL ERROR' + err); + console.error(`GLOBAL ERROR: ${err.toString()}, ${JSON.stringify(err)}`); return callback(null, makeResponse(200, { result: 'Errors found',