We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d04a9bb + 2bc3025 commit e38c41bCopy full SHA for e38c41b
lib/GHCup/Download.hs
@@ -158,8 +158,8 @@ getDownloadsF pfreq@(PlatformRequest arch plat _) = do
158
dl' (NewSetupInfo si) = pure (Right si)
159
dl' (NewURI uri) = do
160
base <- liftE $ getBase uri
161
- catchE @JSONError (\(JSONDecodeError _) -> do
162
- logDebug $ "Couldn't decode " <> T.pack base <> " as GHCupInfo, trying as SetupInfo: "
+ catchE @JSONError (\(JSONDecodeError s) -> do
+ logDebug $ "Couldn't decode " <> T.pack base <> " as GHCupInfo, trying as SetupInfo: " <> T.pack s
163
Right <$> decodeMetadata @Stack.SetupInfo base)
164
$ fmap Left (decodeMetadata @GHCupInfo base >>= \gI -> warnOnMetadataUpdate uri gI >> pure gI)
165
0 commit comments