diff --git a/Runtime/Client/LootLockerHTTPClient.cs b/Runtime/Client/LootLockerHTTPClient.cs index 4a166ff74..d2bab3fea 100644 --- a/Runtime/Client/LootLockerHTTPClient.cs +++ b/Runtime/Client/LootLockerHTTPClient.cs @@ -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; diff --git a/Runtime/Client/LootLockerResponse.cs b/Runtime/Client/LootLockerResponse.cs index e6015004a..5e884f3c9 100644 --- a/Runtime/Client/LootLockerResponse.cs +++ b/Runtime/Client/LootLockerResponse.cs @@ -46,7 +46,6 @@ public class LootLockerResponse /// public string EventId { get; set; } = Guid.NewGuid().ToString(); -#if LOOTLOCKER_BETA_ENABLE_ERROR_REPORTING /// /// 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. @@ -60,7 +59,6 @@ public void ReportFailure(string userDescription, Action onC { LootLocker.Requests.LootLockerSDKManager.SendLootLockerErrorReport(userDescription, this, onComplete); } -#endif public static void Deserialize(Action onComplete, LootLockerResponse serverResponse, #if LOOTLOCKER_USE_NEWTONSOFTJSON diff --git a/Runtime/Game/LootLockerSDKManager.cs b/Runtime/Game/LootLockerSDKManager.cs index 03d7ef35d..2d104dacf 100644 --- a/Runtime/Game/LootLockerSDKManager.cs +++ b/Runtime/Game/LootLockerSDKManager.cs @@ -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 /// /// 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. @@ -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 /// Optional : Execute the request for the specified player. If not supplied, the default player will be used. private static void SendFeedback(LootLockerFeedbackTypes type, string ulid, string description, string category_id, Action onComplete, string forPlayerWithUlid = null)