Skip to content

Commit 1f754fc

Browse files
committed
address feedback
1 parent fdbe870 commit 1f754fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cli/dotnet/commands/dotnet-workload/install/WorkloadManifestUpdater.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ private string GetOfflinePackagePath(SdkFeatureBand sdkFeatureBand, ManifestId m
541541
var latestVersion = await _nugetPackageDownloader.GetLatestPackageVersion(packageId, packageSourceLocation: _packageSourceLocation, includePreview: includePreview);
542542
return (true, latestVersion);
543543
}
544-
catch
544+
catch (NuGetPackageNotFoundException)
545545
{
546546
return (false, null);
547547
}

0 commit comments

Comments
 (0)