Skip to content

Commit

Permalink
[tech] Propagate full patching error message for download error events (
Browse files Browse the repository at this point in the history
#1181)

* Propagate full patching error message for patching error events

* add tags for download patcher

---------

Co-authored-by: Brett <[email protected]>
  • Loading branch information
jiyuu-jin and BrettCleary authored Dec 12, 2024
1 parent bd21aea commit dc9b5bc
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/backend/storeManagers/hyperplay/games.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit dc9b5bc

Please sign in to comment.