Comment Comment by koolba Is this a joke?You've repeated the if(err) check in three places.None of your error handling bubbles up so the handlers (i.e. Logging to console.error) are buried in the individual functions.You've pretended to avoid nested callbacks by inlining them using arrow functions.For your sake I hope that was sarcastic. parent koolba 9 years ago
You've repeated the if(err) check in three places.
None of your error handling bubbles up so the handlers (i.e. Logging to console.error) are buried in the individual functions.
You've pretended to avoid nested callbacks by inlining them using arrow functions.
For your sake I hope that was sarcastic.