Commit 928a4ba
committed
fix: move log.warn to command func, use upfront getSystemErrorMap check
- Move the api/0/ prefix warning from normalizeEndpoint (pure function)
to the command's func() to avoid polluting stderr during unit tests
- Remove api/0? query-string edge case per reviewer feedback
- Replace try-catch SDK patch with upfront hasGetSystemErrorMap check
at module load — excludes NodeSystemError when method is missing1 parent cbd4e2a commit 928a4ba
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
| |||
1171 | 1168 | | |
1172 | 1169 | | |
1173 | 1170 | | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
1174 | 1179 | | |
1175 | 1180 | | |
1176 | 1181 | | |
| |||
0 commit comments