Skip to content

Commit

Permalink
Fix opaque error messages when not isatty
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored Sep 29, 2022
1 parent c1bc4f5 commit f16be18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cml.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ const handleError = (message, error) => {
const event = { ...telemetryEvent, error: err.message };
await send({ event });
}
winston.error({ err });
winston.error(err);
process.exit(1);
}
})();

2 comments on commit f16be18

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.