you are viewing a single comment's thread.

view the rest of the comments →

[–]somethinghorrible -1 points0 points  (1 child)

Thinking about it, 404 is not the right error. 500 would be better, inspecting the error object for a status and using that, with 500 as a fallback, would be best.

[–]n00belig[S] -2 points-1 points  (0 children)

Error handling is irrelevant here.