Skip to content

Commit

Permalink
remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkun61 authored and ynishinaka committed Sep 27, 2023
1 parent 44d5488 commit 07b5362
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 07b5362

Please sign in to comment.