Skip to content

Commit 613ffbb

Browse files
update printing of error
1 parent d35a424 commit 613ffbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/interface/cli/helpers/general.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const printError = (error) => {
1111
if ((process.env.DEBUG || '').includes(defaults.DEBUG_PATTERN)) {
1212
console.error(error.stack);
1313
} else {
14-
console.error(`${error.message} \n ${_.get(error, "cause")} \n`);
14+
console.error(`${error.toString()}`);
1515
}
1616
};
1717

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.8.54",
3+
"version": "0.8.55",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)