|
void $ HTTP.httpLbs req' mgr |
Do we need to check the HTTP status?
I'm unsure about the impact - but in my case a unreachable address resulted in a 502 Bad Gateway status.
Maybe we should check for 2XX results (statusIsSuccessful)? But what should we do in other cases? Just output a warning?
tracing/src/Monitor/Tracing/Zipkin.hs
Line 123 in aa0cc70
Do we need to check the HTTP status?
I'm unsure about the impact - but in my case a unreachable address resulted in a 502 Bad Gateway status.
Maybe we should check for 2XX results (statusIsSuccessful)? But what should we do in other cases? Just output a warning?