Move error formatting out of writeError into a seperate function #755

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

skoni commented Apr 6, 2012

I would like to use the error formatting in some middleware without writing the error message to stderr. I moved the error formatting out of writeError into formatError, which is then used by writeError.

Owner

lukeapage commented Aug 5, 2012

pulled - I think the seperation of concerns is better.

lukeapage closed this Aug 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment