Skip to content

Fix logger being ignored #2037

Fix logger being ignored

Fix logger being ignored #2037

Triggered via push July 31, 2024 15:21
Status Failure
Total duration 2m 12s
Artifacts 3

Linux.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 43 warnings
build
Process completed with exit code 2.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: Sanara/Bot.cs#L97
Cannot convert null literal to non-nullable reference type.
build: Sanara/Log/Logger.cs#L49
Possible null reference argument for parameter 'ex' in 'Guid ErrorManager.Register(Exception ex)'.
build: Sanara/Log/Logger.cs#L63
The variable 'ex' is declared but never used
build: Sanara/Command/Impl/NSFW.cs#L153
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.
build: Sanara/Log/ErrorManager.cs#L5
Non-nullable field '_instance' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Data/Credentials.cs#L16
Non-nullable property 'SentryKey' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Sanara/Command/Impl/NSFW.cs#L160
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.
build: Sanara/Bot.cs#L175
Cannot convert null literal to non-nullable reference type.
build: Sanara/Bot.cs#L19
Non-nullable field '_provider' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Bot.cs#L20
Non-nullable field '_client' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Data/Credentials.cs#L16
Non-nullable property 'SentryKey' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Sanara/Bot.cs#L97
Cannot convert null literal to non-nullable reference type.
build: Sanara/Log/ErrorManager.cs#L5
Non-nullable field '_instance' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Command/Impl/NSFW.cs#L153
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.
build: Sanara/Command/Impl/NSFW.cs#L160
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.
build: Sanara/Log/Logger.cs#L49
Possible null reference argument for parameter 'ex' in 'Guid ErrorManager.Register(Exception ex)'.
build: Sanara/Log/Logger.cs#L63
The variable 'ex' is declared but never used
build: Sanara/Bot.cs#L175
Cannot convert null literal to non-nullable reference type.
build: Sanara/Bot.cs#L19
Non-nullable field '_provider' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Bot.cs#L20
Non-nullable field '_client' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Bot.cs#L97
Cannot convert null literal to non-nullable reference type.
build: Sanara/Log/Logger.cs#L49
Possible null reference argument for parameter 'ex' in 'Guid ErrorManager.Register(Exception ex)'.
build: Sanara/Log/Logger.cs#L63
The variable 'ex' is declared but never used
build: Sanara/Log/ErrorManager.cs#L5
Non-nullable field '_instance' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Data/Credentials.cs#L16
Non-nullable property 'SentryKey' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Sanara/Command/Impl/NSFW.cs#L153
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.
build: Sanara/Command/Impl/NSFW.cs#L160
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.
build: Sanara/Bot.cs#L175
Cannot convert null literal to non-nullable reference type.
build: Sanara/Bot.cs#L19
Non-nullable field '_provider' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Bot.cs#L20
Non-nullable field '_client' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Bot.cs#L97
Cannot convert null literal to non-nullable reference type.
build: Sanara/Log/Logger.cs#L49
Possible null reference argument for parameter 'ex' in 'Guid ErrorManager.Register(Exception ex)'.
build: Sanara/Log/Logger.cs#L63
The variable 'ex' is declared but never used
build: Sanara/Command/Impl/NSFW.cs#L153
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.
build: Sanara/Log/ErrorManager.cs#L5
Non-nullable field '_instance' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Data/Credentials.cs#L16
Non-nullable property 'SentryKey' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Sanara/Command/Impl/NSFW.cs#L160
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.
build: Sanara/Bot.cs#L175
Cannot convert null literal to non-nullable reference type.
build: Sanara/Bot.cs#L19
Non-nullable field '_provider' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
build: Sanara/Bot.cs#L20
Non-nullable field '_client' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Help", "Sanara", "Sanara-SFW". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
Help Expired
669 Bytes
Sanara Expired
8 MB
Sanara-SFW Expired
8.01 MB