add missing show on sentry cookbook
commit3306e6ff3c89d3c06fd4cc2c4ff10a7773de9d82
authorMarco Perone <pasafama@gmail.com>
dateFri 22 Jun 2018, 18:43 (8 years ago)
parent5a65581
doc/cookbook/sentry/Sentry.lhs+1−1
@@ -97,7 +97,7 @@ The function `formatMessage` simply uses the request and the exception to return
9797```haskell
9898formatMessage :: Maybe Request -> SomeException -> String
9999formatMessage Nothing exception = "Exception before request could be parsed: " ++ show exception
100−formatMessage (Just request) exception = "Exception " ++ show exception ++ " while handling request " ++ request
100+formatMessage (Just request) exception = "Exception " ++ show exception ++ " while handling request " ++ show request
101101```
102102
103103The only piece left now is the `recordUpdate` function which allows to decorate with other [attributes](https://docs.sentry.io/clientdev/attributes/) the default `SentryRecord`.