Skip to content

Add exception handling to profile viewer #70

Add exception handling to profile viewer

Add exception handling to profile viewer #70

Triggered via push May 1, 2024 19:20
Status Success
Total duration 1m 31s
Artifacts

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
deploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
deploy: Shared/UsernameResponse.cs#L5
Non-nullable property 'userName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
deploy: Shared/UsernameResponse.cs#L7
Non-nullable property 'userId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
deploy: Shared/CollectedPlayerData.cs#L52
Non-nullable property 'CharacterName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
deploy: Shared/CollectedPlayerData.cs#L59
Non-nullable property 'JobPrototype' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
deploy: Shared/LeaderboardData.cs#L7
Non-nullable property 'MostSeenPlayers' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
deploy: Shared/LeaderboardData.cs#L8
Non-nullable property 'MostAntagPlayers' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
deploy: Shared/LeaderboardData.cs#L13
Non-nullable property 'MostHuntedPlayer' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
deploy: Shared/LeaderboardData.cs#L18
Non-nullable property 'Player' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
deploy: Shared/Models/Replay.cs#L21
Non-nullable property 'Map' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
deploy: Shared/Models/Replay.cs#L23
Non-nullable property 'Gamemode' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
deploy: Server/Api/ReplayController.cs#L50
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
deploy: Server/Program.cs#L104
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
deploy: Server/Program.cs#L49
Possible null reference assignment.
deploy: Server/ReplayParser.cs#L91
The variable 'e' is declared but never used
deploy: Server/Api/DataController.cs#L35
Nullability of reference types in type of parameter 'state' of 'void DataController.CheckInactiveConnections(object state)' doesn't match the target delegate 'TimerCallback' (possibly because of nullability attributes).
deploy: Server/ReplayParser.cs#L162
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
deploy: Server/Api/DataController.cs#L54
Dereference of a possibly null reference.
deploy: Server/Api/DataController.cs#L96
Nullable value type may be null.
deploy: Server/Api/DataController.cs#L127
Nullable value type may be null.
deploy: Server/ReplayParser.cs#L302
Converting null literal or possible null value to non-nullable type.