diff --git a/csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DotNet.cs b/csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DotNet.cs index 3bfc9a8dc88..635b901397b 100644 --- a/csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DotNet.cs +++ b/csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DotNet.cs @@ -56,7 +56,7 @@ namespace Semmle.Extraction.CSharp.DependencyFetching return; case 143 when attempt < 3: HandleRetryExitCode143(dotnetCliInvoker.Exec, attempt, logger); - break; + continue; default: throw new Exception($"{dotnetCliInvoker.Exec} --info failed with exit code {exitCode}."); }