Well, what else would you return? A `400 Bad Request` error might be more appropriate, but a `500 Internal Server Error` is &quot;A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.&quot; - you don&#x27;t want to leak internal state, obviously, so just log the problem and respond with a 500.<p>TL;DR: Might be a segfault, but it&#x27;s 2015 - it probably isn&#x27;t.