Skip to content

Commit 6052382

Browse files
committed
fix: log removed
1 parent ed0d65b commit 6052382

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Runtime/Core/Context/Context.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ internal static async void Init(ConsoleStorage storage, string sessionId, Action
9595
};
9696
initContextRequest.OnFail = (error, responseCode) =>
9797
{
98-
Debug.LogError($"Jahro: Context request failed - {responseCode} - {error}");
98+
Debug.LogError($"Jahro: {responseCode} - {error}");
9999
if (responseCode == 401)
100100
{
101101
OnApiError(storage, context);
@@ -113,7 +113,6 @@ internal static async void Init(ConsoleStorage storage, string sessionId, Action
113113

114114
internal static async void Refresh(ConsoleStorage storage, string sessionId, JahroContext context)
115115
{
116-
Debug.Log("RefreshCoroutine: " + storage.ProjectSettings + " context: " + context._projectInfo + " selectedUser: " + context._selectedUserInfo);
117116
var refreshRequest = new RefreshContextRequest(sessionId, storage.ProjectSettings.APIKey, context._projectInfo.Id, context._selectedUserInfo.Id);
118117
refreshRequest.OnComplete = (result) =>
119118
{
@@ -123,7 +122,7 @@ internal static async void Refresh(ConsoleStorage storage, string sessionId, Jah
123122
};
124123
refreshRequest.OnFail = (error, responseCode) =>
125124
{
126-
Debug.LogError($"Jahro: Context refresh request failed - {responseCode} - {error}");
125+
Debug.LogError($"Jahro: {responseCode} - {error}");
127126
if (responseCode == 401)
128127
{
129128
OnApiError(storage, context);

0 commit comments

Comments
 (0)