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

more debug

parent dc3d1f08
Branches
No related tags found
1 merge request!62Delayed redemption response
......@@ -168,7 +168,9 @@ retry :: IO (Either RedeemError()) -> IO (Either RedeemError())
retry op =
retrying policy shouldRetry $ \_ -> do
putStrLn "Trying now"
op
result <- op
putStrLn $ "Result is " ++ (show result)
return result
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