diff --git a/library/Ratel/Wai.hs b/library/Ratel/Wai.hs index c5a4af7..895dbba 100644 --- a/library/Ratel/Wai.hs +++ b/library/Ratel/Wai.hs @@ -17,8 +17,8 @@ ratelMiddleware apiKey maybeManager handle request respond = do (do handle request (\ response -> do respond response)) - (\ exception -> do - let err = Ratel.toError (exception :: Exception.SomeException) + (\ (Exception.SomeException exception) -> do + let err = Ratel.toError exception let req = Ratel.Request { Ratel.requestAction = Nothing , Ratel.requestCgiData = Just (Map.union diff --git a/package.yaml b/package.yaml index d64e4bf..c4eea34 100644 --- a/package.yaml +++ b/package.yaml @@ -14,11 +14,11 @@ library: - case-insensitive ==1.2.* - containers ==0.5.* - http-client >=0.4.30 && <0.6 - - ratel ==0.3.* + - ratel ==0.4.* - wai ==3.2.* source-dirs: library license: MIT maintainer: Taylor Fausak name: ratel-wai synopsis: Notify Honeybadger about exceptions via a WAI middleware. -version: '0.2.0' +version: '0.3.0' diff --git a/stack.yaml b/stack.yaml index 06ba912..1ab9fef 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,3 +1,9 @@ +packages: +- location: + git: https://github.com/positiondev/ratel + commit: 901fa37decad1df832ae1411cc701d249b98edaf + extra-dep: true extra-deps: -- ratel-0.3.0 +- ratel-0.4.0 resolver: nightly-2016-07-15 +