Skip to content
Snippets Groups Projects
Unverified Commit 1307af40 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Get rid of debug prints now that it works

I should really learn how to do some real logging...
parent ad88bd7e
No related branches found
No related tags found
1 merge request!62Delayed redemption response
......@@ -166,11 +166,7 @@ redemptionServer = redeem
-- between tries.
retry :: IO (Either RedeemError()) -> IO (Either RedeemError())
retry op =
retrying policy shouldRetry $ \_ -> do
putStrLn "Trying now"
result <- op
putStrLn $ "Result is " ++ (show result)
return result
retrying policy shouldRetry $ \_ -> op
where
-- Total duration for which to retry in milliseconds.
totalRetryDuration = 3 * 60 * 1000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment