The `showError` function is way too big and convoluted #321

Closed
jfhbrook opened this Issue Sep 25, 2012 · 1 comment

2 participants

@jfhbrook

The code in question:

https://github.com/nodejitsu/jitsu/blob/master/lib/jitsu.js#L260-369

One suggestion has been that this can be cleaned up with the use of the errs library. Others have suggested that we should be able to handle the errors well before this function. Either way, decreasing the size and complexity of this function is a noble goal.

@blakmatrix

closing as #380 is a dup but has better info

@blakmatrix blakmatrix closed this Feb 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment