Skip to content

Fix Crash-reporting by using "properties.TryAdd()" instead of properties.Add to avoid throwing and… #6

Fix Crash-reporting by using "properties.TryAdd()" instead of properties.Add to avoid throwing and…

Fix Crash-reporting by using "properties.TryAdd()" instead of properties.Add to avoid throwing and… #6

Re-run triggered July 30, 2024 11:04
Status Failure
Total duration 1m 51s
Artifacts

PR.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
build
Process completed with exit code 1.
build: TinyInsights/Dependency.cs#L38
Cannot convert null literal to non-nullable reference type.
build: TinyInsights/Dependency.cs#L38
Cannot convert null literal to non-nullable reference type.
build: TinyInsights/IInsights.cs#L13
Cannot convert null literal to non-nullable reference type.
build: TinyInsights/ApplicationInsightsProvider.cs#L29
Nullability of reference types in type of parameter 'sender' of 'void ApplicationInsightsProvider.TaskScheduler_UnobservedTaskException(object sender, UnobservedTaskExceptionEventArgs e)' doesn't match the target delegate 'EventHandler<UnobservedTaskExceptionEventArgs>' (possibly because of nullability attributes).
build: TinyInsights/ApplicationInsightsProvider.cs#L26
Non-nullable field 'client' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: TinyInsights/InsightsMessageHandler.cs#L35
Dereference of a possibly null reference.
build: TinyInsights/InsightsMessageHandler.cs#L36
Possible null reference argument for parameter 'exception' in 'Task IInsights.TrackDependencyAsync(string dependencyType, string dependencyName, string data, DateTimeOffset startTime, TimeSpan duration, bool success, int resultCode = 0, Exception exception = null)'.
build: TinyInsights/InsightsMessageHandler.cs#L43
Dereference of a possibly null reference.
build: TinyInsights/Dependency.cs#L7
Non-nullable property 'DependencyType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: TinyInsights/Dependency.cs#L7
Non-nullable property 'DependencyName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.