Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions library/Ratel/Wai.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
8 changes: 7 additions & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -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