John Harrington
001f8fa579
PM-23906 Wrap sdk callsite with try/catch to handle errors appropriately ( #16410 )
...
* wrap sdk callsite in try/catch to handle error appropriately
`encryptService.decryptString()` calls code in the internal SDK which when provided an invalid
key returns `CryptoError::InvalidMac`. The originating callsite has been wrapped in a try/catch
in order to intercept the error and return false so that logic in parse() may return
a more appropriate error message in the UI.
* add unit test and explanatory comment
* remove misleading comment
* remove null comparison and unused variable
2025-09-16 10:22:05 -07:00
..
2023-11-27 20:59:44 +00:00
2025-09-16 10:22:05 -07:00
2025-05-27 13:13:15 -04:00
2025-02-07 14:13:41 -05:00
2025-05-13 10:07:38 -04:00
2025-08-06 15:27:52 +10:00
2025-05-13 10:07:38 -04:00
2025-08-06 15:27:52 +10:00
2025-08-06 15:27:52 +10:00
2025-02-07 14:13:41 -05:00
2025-08-06 15:27:52 +10:00
2025-08-14 13:08:24 -04:00
2025-08-06 15:27:52 +10:00
2025-08-06 15:27:52 +10:00
2025-07-14 13:00:48 +02:00
2023-03-23 11:43:27 +01:00
2024-12-09 20:58:50 +01:00
2025-04-14 10:46:58 -05:00
2025-08-14 13:08:24 -04:00
2023-03-23 11:43:27 +01:00
2024-12-09 20:58:50 +01:00
2023-03-23 11:43:27 +01:00
2025-02-07 14:13:41 -05:00
2025-09-04 11:21:57 +02:00
2024-12-09 20:58:50 +01:00
2023-03-23 11:43:27 +01:00
2024-12-09 20:58:50 +01:00
2025-02-07 14:13:41 -05:00
2024-12-09 20:58:50 +01:00
2024-12-09 20:58:50 +01:00
2023-03-23 11:43:27 +01:00
2025-07-01 13:52:04 +00:00
2024-12-09 20:58:50 +01:00
2025-02-07 14:13:41 -05:00
2024-12-09 20:58:50 +01:00
2025-02-07 14:13:41 -05:00
2024-10-18 20:37:32 +02:00
2023-03-23 11:43:27 +01:00
2023-03-23 11:43:27 +01:00
2025-03-20 18:53:17 +01:00
2025-03-20 18:53:17 +01:00
2025-02-07 14:13:41 -05:00
2023-11-29 16:15:20 -05:00
2025-08-06 15:27:52 +10:00
2024-12-09 20:58:50 +01:00
2025-08-14 13:08:24 -04:00
2023-03-23 11:43:27 +01:00
2023-03-23 11:43:27 +01:00
2025-08-14 13:08:24 -04:00
2024-12-09 20:58:50 +01:00
2024-12-09 20:58:50 +01:00
2024-12-09 20:58:50 +01:00
2024-12-09 20:58:50 +01:00
2023-03-23 11:43:27 +01:00
2024-12-09 20:58:50 +01:00
2025-07-14 13:00:48 +02:00
2025-07-14 13:00:48 +02:00
2025-02-07 14:13:41 -05:00
2023-03-23 11:43:27 +01:00
2024-12-09 20:58:50 +01:00
2024-12-09 20:58:50 +01:00
2025-03-03 15:59:50 +00:00
2024-12-09 20:58:50 +01:00
2023-03-23 11:43:27 +01:00
2024-12-09 20:58:50 +01:00
2023-11-27 20:59:44 +00:00
2023-03-23 11:43:27 +01:00
2023-03-23 11:43:27 +01:00
2025-08-06 15:27:52 +10:00
2024-12-09 20:58:50 +01:00