Commit 0352c4d
Nikolai Lambrov
Enhance error handling in Auth class for token and ID file retrieval
- Added checks to ensure the existence and non-emptiness of the token and ID files in the Auth class. This improvement raises appropriate exceptions with clear error messages when the files are missing or empty, enhancing robustness and debugging capabilities.1 parent 8ed32d4 commit 0352c4d
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
0 commit comments