Commit 309ffaa
committed
fix: add JSON error handling to auth config loader
Wrap json.loads() in load_auth_config() with try/except to catch
JSONDecodeError and raise a clean ValueError with a descriptive
message, matching the convention used for all other validation
failures in the same function.1 parent 99cd5e2 commit 309ffaa
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| |||
0 commit comments