Skip to content

Commit

Permalink
remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkun61 committed Sep 20, 2023
1 parent d2936bf commit ee6268e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions exporters/otlp/src/OpenTelemetry/Exporter/OTLP.hs
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,6 @@ otlpExporter conf = do
threadDelay (retryDelay `shiftL` backoffCount)
sendReq req (backoffCount + 1)

either print (\_ -> pure ()) eResp

case eResp of
Left err@(HttpExceptionRequest _ e) ->
if isRetryableException e
Expand All @@ -296,9 +294,7 @@ otlpExporter conf = do
sendReq req (backoffCount + 1)
else
if statusCode (responseStatus resp) >= 300
then do
print resp
pure $ Failure Nothing
then pure $ Failure Nothing
else pure Success


Expand Down

0 comments on commit ee6268e

Please sign in to comment.