Commit 9957d53
committed
fix: check abort flag before calling abortTask to properly distinguish API failures
- Check if this.abort is true BEFORE calling abortTask() in the error handler
- This allows proper distinction between user-initiated cancellations (where abort was already true) and actual API failures (where abort was false)
- Fixes issue #5427 where all API failures were incorrectly reported as "API Request Cancelled"1 parent 9fce90b commit 9957d53
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1442 | 1442 | | |
1443 | 1443 | | |
1444 | 1444 | | |
1445 | | - | |
1446 | 1445 | | |
1447 | | - | |
1448 | | - | |
| 1446 | + | |
| 1447 | + | |
1449 | 1448 | | |
1450 | 1449 | | |
1451 | 1450 | | |
1452 | 1451 | | |
1453 | 1452 | | |
1454 | 1453 | | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
1455 | 1457 | | |
1456 | 1458 | | |
1457 | 1459 | | |
| |||
0 commit comments