Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Runtime/Client/LootLockerHTTPClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -747,12 +747,10 @@ private void CallListenersAndMarkDone(LootLockerHTTPExecutionQueueItem execution

response.requestContext = new LootLockerRequestContext(executionItem.RequestData.ForPlayerWithUlid, executionItem.RequestData.RequestStartTime, executionItem.RequestData.RequestId);

#if LOOTLOCKER_BETA_ENABLE_ERROR_REPORTING
if (response != null && !response.success)
{
StoreFailedRequestReport(response, executionItem);
}
#endif

CurrentlyOngoingRequests.Remove(executionItem.RequestData.RequestId);
executionItem.IsWaitingForSessionRefresh = false;
Expand Down
2 changes: 0 additions & 2 deletions Runtime/Client/LootLockerResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public class LootLockerResponse
/// </summary>
public string EventId { get; set; } = Guid.NewGuid().ToString();

#if LOOTLOCKER_BETA_ENABLE_ERROR_REPORTING
/// <summary>
/// Sends a report about a failed request to be viewable in the LootLocker dashboard.
/// This is intended to be used in the case where a request fails and you want to send the details of that failure to LootLocker for debugging and tracking purposes.
Expand All @@ -60,7 +59,6 @@ public void ReportFailure(string userDescription, Action<LootLockerResponse> onC
{
LootLocker.Requests.LootLockerSDKManager.SendLootLockerErrorReport(userDescription, this, onComplete);
}
#endif

public static void Deserialize<T>(Action<T> onComplete, LootLockerResponse serverResponse,
#if LOOTLOCKER_USE_NEWTONSOFTJSON
Expand Down
2 changes: 0 additions & 2 deletions Runtime/Game/LootLockerSDKManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8755,7 +8755,6 @@ public static void SendUGCFeedback(string ulid, string description, string categ
SendFeedback(LootLockerFeedbackTypes.ugc, ulid, description, category_id, onComplete, forPlayerWithUlid);
}

#if LOOTLOCKER_BETA_ENABLE_ERROR_REPORTING
/// <summary>
/// Sends a report about a failed request to be viewable in the LootLocker dashboard.
/// This is intended to be used in the case where a request fails and you want to send the details of that failure to LootLocker for debugging and tracking purposes.
Expand Down Expand Up @@ -8863,7 +8862,6 @@ string[] RedactSensitiveHeaders(string[] headers)
EndPointClass endPoint = LootLockerEndPoints.createErrorReport;
LootLockerServerRequest.CallAPI(failedResponse.requestContext.player_ulid, endPoint.endPoint, endPoint.httpMethod, reportAsJson, onComplete: (serverResponse) => { LootLockerResponse.Deserialize(onComplete, serverResponse); });
}
#endif

/// <param name="forPlayerWithUlid">Optional : Execute the request for the specified player. If not supplied, the default player will be used.</param>
private static void SendFeedback(LootLockerFeedbackTypes type, string ulid, string description, string category_id, Action<LootLockerResponse> onComplete, string forPlayerWithUlid = null)
Expand Down
Loading