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
The result is that warp quietly terminates requests that attempt to log a message that contains an invalid character, instead of printing out an error message. The relevant case in defaultShouldDisplayException's implementation seems to be:
| Just (ioeGetErrorType -> et) <- fromException se
, et == ResourceVanished || et == InvalidArgument = False
Is it necessary to hide all IO exceptions of type InvalidArgument, or could it be more specific about what to hide?
The text was updated successfully, but these errors were encountered:
Consider this contrived program:
The output when stdout has a character encoding that can represent "ø" is:
The result is that warp quietly terminates requests that attempt to log a message that contains an invalid character, instead of printing out an error message. The relevant case in defaultShouldDisplayException's implementation seems to be:
Is it necessary to hide all IO exceptions of type InvalidArgument, or could it be more specific about what to hide?
The text was updated successfully, but these errors were encountered: