File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
cabal-install/src/Distribution/Client
cabal-testsuite/PackageTests/Get/T7248 Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -457,8 +457,8 @@ readRepoIndex verbosity repoCtxt repo idxState =
457457 if isDoesNotExistError e
458458 then do
459459 case repo of
460- RepoRemote {.. } -> dieWithException verbosity $ MissingPackageList repoRemote
461- RepoSecure {.. } -> dieWithException verbosity $ MissingPackageList repoRemote
460+ RepoRemote {.. } -> warn verbosity $ exceptionMessageCabalInstall $ MissingPackageList repoRemote
461+ RepoSecure {.. } -> warn verbosity $ exceptionMessageCabalInstall $ MissingPackageList repoRemote
462462 RepoLocalNoIndex local _ ->
463463 warn verbosity $
464464 " Error during construction of local+noindex "
Original file line number Diff line number Diff line change 11# cabal get
22Warning: <ROOT>/cabal.config: Unrecognized stanza on line 3
3- Error: [Cabal-7160]
4- The package list for 'repo.invalid' does not exist. Run 'cabal update' to download it.
3+ Warning: The package list for 'repo.invalid' does not exist. Run 'cabal update' to download it.
4+ Error: [Cabal-7100]
5+ There is no package named 'a-b-s-e-n-t'.
6+ You may need to run 'cabal update' to get the latest list of available packages.
You can’t perform that action at this time.
0 commit comments