We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f222e83 commit aed51a2Copy full SHA for aed51a2
src/api/providers/unbound.ts
@@ -28,7 +28,7 @@ export class UnboundHandler implements ApiHandler {
28
const data = await response.json()
29
30
if (!response.ok) {
31
- throw new Error(data.error)
+ throw new Error(data.error.message)
32
}
33
34
yield {
@@ -42,7 +42,7 @@ export class UnboundHandler implements ApiHandler {
42
43
} catch (error) {
44
if (error instanceof Error) {
45
- throw new Error(`Unbound Gateway completion error: ${error.message}`)
+ throw new Error(`Unbound Gateway completion error:\n ${error.message}`)
46
47
throw error
48
0 commit comments