Skip to content

Commit

Permalink
Display TOML parse error correctly (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryndubei authored Jun 8, 2024
1 parent fdf3405 commit 4a4d65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Weeder/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ main = handleWeederException do
>>= mainWithConfig hieExt hieDirectories requireHsFiles
where
throwConfigError e =
throwIO $ ExitConfigFailure (show e)
throwIO $ ExitConfigFailure (displayException e)

decodeConfig noDefaultFields =
if noDefaultFields
Expand Down

0 comments on commit 4a4d65d

Please sign in to comment.