Skip to content

Commit

Permalink
Fix opaque error messages when not isatty (#1191)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored Sep 29, 2022
1 parent c1bc4f5 commit b9226f1
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);
}
})();

0 comments on commit b9226f1

Please sign in to comment.