From dc9b5bc899cc1cf58703c73f4a94614d40f969ba Mon Sep 17 00:00:00 2001 From: Free Spirit Date: Wed, 11 Dec 2024 19:06:02 -0500 Subject: [PATCH] [tech] Propagate full patching error message for download error events (#1181) * Propagate full patching error message for patching error events * add tags for download patcher --------- Co-authored-by: Brett <27568879+BrettCleary@users.noreply.github.com> --- src/backend/storeManagers/hyperplay/games.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/backend/storeManagers/hyperplay/games.ts b/src/backend/storeManagers/hyperplay/games.ts index 4e9bd761bf..27ec6fd52c 100644 --- a/src/backend/storeManagers/hyperplay/games.ts +++ b/src/backend/storeManagers/hyperplay/games.ts @@ -1588,11 +1588,16 @@ export const downloadPatcher = async () => { captureException(error, { extra: { method: 'downloadPatcher' + }, + tags: { + feature: 'Patcher', + method: 'downloadPatcher' } }) - logError(`Error downloading IPDT: ${error}`, LogPrefix.HyperPlay) - throw new Error('Error downloading IPDT') + const errorMsg = `Error downloading IPDT: ${error}` + logError(errorMsg, LogPrefix.HyperPlay) + throw errorMsg } }