Skip to content

Commit 89d0fdf

Browse files
Erik Bylundkirre-bylund
authored andcommitted
Clarify SDK initialization error and remove superflous log
1 parent 06f0bcf commit 89d0fdf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Runtime/Client/LootLockerServerRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public class LootLockerResponseFactory
239239
/// </summary>
240240
public static T SDKNotInitializedError<T>() where T : LootLockerResponse, new()
241241
{
242-
return Error<T>("SDK not initialized");
242+
return Error<T>("The LootLocker SDK has not been initialized, please start a session to call this method");
243243
}
244244

245245
/// <summary>

Runtime/Game/LootLockerSDKManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ public static bool CheckInitialized(bool skipSessionCheck = false)
127127

128128
if (!skipSessionCheck && !CheckActiveSession())
129129
{
130-
LootLockerLogger.GetForLogLevel(LootLockerLogger.LogLevel.Warning)("You cannot call this method before an active LootLocker session is started");
131130
return false;
132131
}
133132

0 commit comments

Comments
 (0)