aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@gmail.com>2022-05-29 17:30:44 -0500
committerJacques Comeaux <jacquesrcomeaux@gmail.com>2022-05-29 17:30:44 -0500
commit5911078e6826dc7bf27abbf432240c6c1d701a91 (patch)
tree2ea03bedad0ba96d8278552448860ea7109906f7 /app
parente970f53fdea63d9dd89382d522db2da570d05128 (diff)
Further improve error messages
Diffstat (limited to 'app')
-rw-r--r--app/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs
index b62e614..f4fa1d0 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -32,7 +32,7 @@ runServer port = run port $ \request send -> do
.| sinkParser Ae.json
case Ae.fromJSON val of
Ae.Success r -> return r
- Ae.Error s -> throwM $ DecodeException $ T.pack s
+ Ae.Error s -> throwM $ DecodeException $ "Recieve message: " <> T.pack s
case eres of
Left e -> send $ errorResponse e
Right inMes -> do