From 5911078e6826dc7bf27abbf432240c6c1d701a91 Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Sun, 29 May 2022 17:30:44 -0500 Subject: Further improve error messages --- src/Tomato/Retrieve.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Tomato/Retrieve.hs') diff --git a/src/Tomato/Retrieve.hs b/src/Tomato/Retrieve.hs index 2f7f20b..014d836 100644 --- a/src/Tomato/Retrieve.hs +++ b/src/Tomato/Retrieve.hs @@ -44,7 +44,7 @@ queryTomato = do "client_id" =: clientId tomato <- case Ae.fromJSON (responseBody js) of Ae.Success r -> pure r - Ae.Error s -> throwM $ DecodeException $ T.pack s + Ae.Error s -> throwM $ DecodeException $ "Get tomato url" <> T.pack s return tomato -- | Download a specific tomato -- cgit v1.2.3