Retry the sandbox curl on travis as needed

This commit is contained in:
Joe Nelson
2014-10-17 23:46:47 -07:00
parent 25ce4c00c6
commit 36eeec6b17
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ withSavepoint app conn req respond = do
catch (app conn req respond) (\e -> let _ = (e::SomeException) in
runRaw conn "rollback to savepoint req_sp" >> throw e)
authenticated :: BS.ByteString -> Connection -> Application ->
authenticated :: BS.ByteString -> (Connection -> Application) ->
Connection -> Application
authenticated anon app conn req respond = do
attempt <- httpRequesterRole (requestHeaders req)