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.
1 parent 4c227a6 commit 6f0f609Copy full SHA for 6f0f609
src/OpenTelemetry.AutoInstrumentation.StartupHook/StartupHook.cs
@@ -82,7 +82,7 @@ private static string GetLoaderAssemblyLocation()
82
83
// StartupHook and Loader assemblies are in the same path
84
var startupAssemblyDirectoryPath = Path.GetDirectoryName(startupAssemblyFilePath) ??
85
- throw new NullReferenceException("StartupAssemblyFilePath is NULL");
+ throw new InvalidOperationException("StartupAssemblyFilePath is NULL");
86
return startupAssemblyDirectoryPath;
87
}
88
catch (Exception ex)
0 commit comments