Skip to content

Commit

Permalink
Tweak displayAnnotatedException
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jul 24, 2024
1 parent 40b63de commit 5186862
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Restyler/AnnotatedException.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ import Control.Exception.Annotated.UnliftIO
displayAnnotatedException :: Exception e => AnnotatedException e -> Text
displayAnnotatedException aex@AnnotatedException {exception} =
unlines
[ "Annotated Exception"
, ""
, pack $ displayException exception
[ pack $ displayException exception
, ""
, maybe "" (pack . prettyCallStack) $ annotatedExceptionCallStack aex
]
Expand Down

0 comments on commit 5186862

Please sign in to comment.