Skip to content

feat: Add failed response error reporting using the feedback system#329

Merged
kirre-bylund merged 2 commits into
devfrom
feature/report-error-method
Apr 10, 2026
Merged

feat: Add failed response error reporting using the feedback system#329
kirre-bylund merged 2 commits into
devfrom
feature/report-error-method

Conversation

@kirre-bylund
Copy link
Copy Markdown
Contributor

Tracking issue

Closes lootlocker/index#1473
Mimics lootlocker/unity-sdk#452


Description

Added functionality to send a failed LootLocker Response as a pre-structured feedback entry to LootLocker.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “failed request error report” feature to the Unreal SDK that packages details from a failed FLootLockerResponse into a structured feedback entry and submits it via the existing feedback system (matching the Unity SDK behavior).

Changes:

  • Added SendLootLockerErrorReport to both the C++ (ULootLockerSDKManager) and Blueprint (ULootLockerManager) facades.
  • Implemented failed-request detail capture in ULootLockerHttpClient (bounded in-memory history + feedback category id lookup/caching).
  • Introduced FLootLockerFailedRequestReport as the serialized payload structure.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
LootLockerSDK/Source/LootLockerSDK/Public/LootLockerSDKManager.h Public C++ API: declares SendLootLockerErrorReport and documents expected behavior.
LootLockerSDK/Source/LootLockerSDK/Public/LootLockerManager.h Blueprint API: exposes SendLootLockerErrorReport to Blueprints.
LootLockerSDK/Source/LootLockerSDK/Public/LootLockerHttpClient.h Adds failure-reporting public helpers (category-id caching + report retrieval).
LootLockerSDK/Source/LootLockerSDK/Public/LootLockerFailedRequestReport.h New USTRUCT payload describing captured failure details.
LootLockerSDK/Source/LootLockerSDK/Private/LootLockerSDKManager.cpp Implements SendLootLockerErrorReport (validation + serialization + feedback send).
LootLockerSDK/Source/LootLockerSDK/Private/LootLockerManager.cpp Blueprint wrapper that forwards to ULootLockerSDKManager.
LootLockerSDK/Source/LootLockerSDK/Private/LootLockerHttpClient.cpp Captures/stores failed request info and resolves the feedback category id.

Comment thread LootLockerSDK/Source/LootLockerSDK/Private/LootLockerSDKManager.cpp Outdated
Comment thread LootLockerSDK/Source/LootLockerSDK/Private/LootLockerHttpClient.cpp
Comment thread LootLockerSDK/Source/LootLockerSDK/Public/LootLockerSDKManager.h
Comment thread LootLockerSDK/Source/LootLockerSDK/Public/LootLockerManager.h
@kirre-bylund kirre-bylund force-pushed the feature/report-error-method branch from f2143a2 to 5cbcf68 Compare April 10, 2026 09:57
@kirre-bylund kirre-bylund merged commit d0ea351 into dev Apr 10, 2026
1 check passed
@kirre-bylund kirre-bylund deleted the feature/report-error-method branch April 10, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants