From 3306e6ff3c89d3c06fd4cc2c4ff10a7773de9d82 Mon Sep 17 00:00:00 2001 From: Marco Perone Date: Fri, 22 Jun 2018 18:43:50 +0200 Subject: [PATCH] add missing show on sentry cookbook --- doc/cookbook/sentry/Sentry.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/cookbook/sentry/Sentry.lhs b/doc/cookbook/sentry/Sentry.lhs index 6e234f4f..c0330cfd 100644 --- a/doc/cookbook/sentry/Sentry.lhs +++ b/doc/cookbook/sentry/Sentry.lhs @@ -97,7 +97,7 @@ The function `formatMessage` simply uses the request and the exception to return ```haskell formatMessage :: Maybe Request -> SomeException -> String formatMessage Nothing exception = "Exception before request could be parsed: " ++ show exception -formatMessage (Just request) exception = "Exception " ++ show exception ++ " while handling request " ++ request +formatMessage (Just request) exception = "Exception " ++ show exception ++ " while handling request " ++ show request ``` The only piece left now is the `recordUpdate` function which allows to decorate with other [attributes](https://docs.sentry.io/clientdev/attributes/) the default `SentryRecord`.