Skip to content
Snippets Groups Projects
Verified Commit 615cba85 authored by jan.hamal.dvorak's avatar jan.hamal.dvorak
Browse files

Do not repeat status line in defaultHandler


Instead of repeating the status line in the defaultHandler for every
exception, repeat it only when the message is empty.

Signed-off-by: default avatarJan Hamal Dvořák <mordae@anilinux.org>
parent 7f9323be
No related branches found
No related tags found
No related merge requests found
......@@ -312,7 +312,7 @@ where
where
response st = resp . responseLBS st [(hContentType, "text/plain")]
. cs . (<> "\n" <> msg)
. cs . (\str -> if msg == "" then str else msg)
-- |
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment