gh icon indicating copy to clipboard operation
gh copied to clipboard

Revamp logger warning / error behavior

Open henvic opened this issue 10 years ago • 2 comments

  1. An error is not always fatal. Fatal error are better handled by an exception mechanism.
  2. Errors and warnings must be sent to stderr instead of stdout. Easily done using console.warn and console.error instead of always relying on console.log.

henvic avatar Feb 15 '15 17:02 henvic

We should revisit how we are handling errors across the app.

protoEvangelion avatar Jan 05 '19 21:01 protoEvangelion

Make sure to throw clear error for this: #435

protoEvangelion avatar Jan 05 '19 22:01 protoEvangelion