Skip to content

Commit b6c74fe

Browse files
committed
C#: Narrow Exception to JsonException
1 parent 9560593 commit b6c74fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DependabotProxy.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public struct RegistryConfig
114114
}
115115
}
116116
}
117-
catch (Exception ex)
117+
catch (JsonException ex)
118118
{
119119
logger.LogError($"Unable to parse '{EnvironmentVariableNames.ProxyURLs}': {ex.Message}");
120120
}

0 commit comments

Comments
 (0)