gh
gh copied to clipboard
Revamp logger warning / error behavior
- An error is not always fatal. Fatal error are better handled by an exception mechanism.
- 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.
We should revisit how we are handling errors across the app.
Make sure to throw clear error for this: #435