bc-wallet-mobile icon indicating copy to clipboard operation
bc-wallet-mobile copied to clipboard

Uncaught exception when trying to load templates

Open jleach opened this issue 8 months ago • 1 comments

When the wallet 1.0.16+ is unable to load the proof template bundles Axios fails and throws an exception which is not handled properly:

 WARN  Possible Unhandled Promise Rejection (id: 1):
[AxiosError: Request failed with status code 404]
 WARN  Possible Unhandled Promise Rejection (id: 2):
[AxiosError: Request failed with status code 404]
 WARN  Possible Unhandled Promise Rejection (id: 3):
[AxiosError: Request failed with status code 404]

This should correctly be caught and logged for better debugging.

jleach avatar Jun 06 '24 18:06 jleach