Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## [RC Diary] winston-cloudwatch bug, jobs, and the little schemer (-69)
- ### Job applications
- Tedious. Long. And possibly I'll never even receive a "No." email back. :(
- Spent the whole morning doing that.
- ### winston-cloudwatch bug
- So... it appears yesterday manual refactor was a bad idea, I've left a non declared variable in a ternary operator and didn't
- properly cover a branch of it, result was that a user of my library (which configuration was going through that branch), got
- all of their server crashing as soon as they started.
- The problem could be explained with this snippet
- ```javascript
- true ? console.log('all good') : OMG()
- ```
- `OMG` is not defined but that snippet doesn't throw a `ReferenceError` unless the else branch is evaluated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement