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
I've pushed up #360 which might fix this, it seems like an improvement at the very least. @fpgaminer do you want to try that patch out and see if it works as you'd expect?
It looks like the code for
HandlerError::into_response
is supposed to log the cause of the error:gotham/gotham/src/handler/error.rs
Line 140 in 154034f
However, that doesn't seem to work; on 0.4.0 my logs just show None where the cause description should be.
As far as I can tell it's because that line is calling
self.source()
, butHandlerError
only implementscause
, notsource
:gotham/gotham/src/handler/error.rs
Lines 79 to 87 in 154034f
And checking
Error
's default implementation,source
will indeed returnNone
by default.Though, I haven't tested a patch to be sure that my theory is correct.
The text was updated successfully, but these errors were encountered: