Assume HTTP status 500 for `defaultHandler`

(the user can still explicitly specify a different status code)