diff --git a/apps/impl-nodejs/app.js b/apps/impl-nodejs/app.js index 12682b1..a178f5a 100644 --- a/apps/impl-nodejs/app.js +++ b/apps/impl-nodejs/app.js @@ -39,7 +39,7 @@ const makeRequest = (options, ca) => { }); req.on('error', (e) => { - console.error(`Problem with request: ${e.message}`); + console.error(`Problem with request: ${e.message.replace(/\n|\r/g, "")}`); process.exit(1); });