You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
both before_error_render and serialize are application subroutines, which may refer to Dancer::SharedData->response.
But this object is not in sync with http_code passed to send_error: 418 != 200
The text was updated successfully, but these errors were encountered:
When we call
send_error 418, { some => 'error' }
Next code is executed:
Then this error is
render
ed (see line 206)Here next subs are executed:
before_error_render
,_render_serialized
_render_serialized
callsDancer::Serializer->engine->serialize($message)
in turn.both
before_error_render
andserialize
are application subroutines, which may refer toDancer::SharedData->response
.But this object is not in sync with
http_code
passed tosend_error
: 418 != 200The text was updated successfully, but these errors were encountered: