Commit af8a995
committed
refactor: handle autodelete errors directly without exceptions
- Replaced exception raising in autodelete result handling with direct error handling
- Session errors trigger retry by continuing the while loop
- WebUI errors that can be retried also continue the loop
- Service unavailable returns error code 1
- Other errors return appropriate ADT results or error codes
- Removed unused PyiCloud2SARequiredException import
- All tests pass, mypy strict mode passes1 parent 4ef1463 commit af8a995
1 file changed
+22
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
1558 | 1557 | | |
1559 | 1558 | | |
1560 | 1559 | | |
1561 | | - | |
| 1560 | + | |
1562 | 1561 | | |
1563 | | - | |
| 1562 | + | |
1564 | 1563 | | |
1565 | | - | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
1566 | 1581 | | |
1567 | | - | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
1568 | 1585 | | |
1569 | 1586 | | |
1570 | 1587 | | |
| |||
0 commit comments