Commit 0c52ef0
committed
fix: show notification when corrupt task fails to load
- Added error handling in showTaskWithId to catch when getTaskWithId fails
- Added new i18n error message "task_corrupt_deleted" to explain the issue
- Added comprehensive unit tests for the showTaskWithId method
- Refreshes webview state after showing the error notification
Fixes #65921 parent a921d05 commit 0c52ef0
File tree
3 files changed
+511
-2
lines changed- src
- core/webview
- __tests__
- i18n/locales/en
3 files changed
+511
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1343 | 1343 | | |
1344 | 1344 | | |
1345 | 1345 | | |
1346 | | - | |
1347 | | - | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
1348 | 1356 | | |
1349 | 1357 | | |
1350 | 1358 | | |
| |||
0 commit comments