fix(proxy): better error when upstream proxy fails #1970
Annotations
5 errors
test/proxy.test.ts > proxy > proxyRequest > can handle failed proxy requests gracefully:
test/proxy.test.ts#L269
AssertionError: expected "error" to not be called at all, but actually been called 1 times
Received:
1st error call:
Array [
"[h3]",
"[unhandled]",
[Error: fetch failed],
]
Number of calls: 1
❯ test/proxy.test.ts:269:25
|
ci (20)
Process completed with exit code 1.
|
ci (18)
The job was canceled because "_20" failed.
|
test/proxy.test.ts > proxy > proxyRequest > can handle failed proxy requests gracefully:
test/proxy.test.ts#L269
AssertionError: expected "error" to not be called at all, but actually been called 1 times
Received:
1st error call:
Array [
"[h3]",
"[unhandled]",
[Error: fetch failed],
]
Number of calls: 1
❯ test/proxy.test.ts:269:25
|
ci (18)
Process completed with exit code 1.
|