Skip to content

Commit e38c41b

Browse files
committed
Merge remote-tracking branch 'origin/pr/1113'
2 parents d04a9bb + 2bc3025 commit e38c41b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/GHCup/Download.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,8 @@ getDownloadsF pfreq@(PlatformRequest arch plat _) = do
158158
dl' (NewSetupInfo si) = pure (Right si)
159159
dl' (NewURI uri) = do
160160
base <- liftE $ getBase uri
161-
catchE @JSONError (\(JSONDecodeError _) -> do
162-
logDebug $ "Couldn't decode " <> T.pack base <> " as GHCupInfo, trying as SetupInfo: "
161+
catchE @JSONError (\(JSONDecodeError s) -> do
162+
logDebug $ "Couldn't decode " <> T.pack base <> " as GHCupInfo, trying as SetupInfo: " <> T.pack s
163163
Right <$> decodeMetadata @Stack.SetupInfo base)
164164
$ fmap Left (decodeMetadata @GHCupInfo base >>= \gI -> warnOnMetadataUpdate uri gI >> pure gI)
165165

0 commit comments

Comments
 (0)