We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1198faa commit 8d8ce30Copy full SHA for 8d8ce30
Src/StackifyLib/Internal/Logs/LogClient.cs
@@ -67,7 +67,7 @@ public bool CanSend()
67
68
public bool CanQueue()
69
{
70
- if (!_LogQueue.CanQueue())
+ if (_LogQueue == null || !_LogQueue.CanQueue())
71
72
return false;
73
}
Src/StackifyLib/Logger.cs
@@ -95,6 +95,9 @@ public static AppIdentityInfo Identity()
95
/// <returns></returns>
96
public static bool CanSend()
97
98
+ if (_LogClient == null)
99
+ return false;
100
+
101
return _LogClient.CanQueue();
102
103
0 commit comments