Skip to content

Commit 3ef4da8

Browse files
committed
fix: add log to why confirm fails
1 parent 156c91c commit 3ef4da8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ib-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ export class IBClient {
413413
throw authError;
414414
}
415415

416-
throw new Error("Failed to confirm order");
416+
throw new Error("Failed to confirm order: " + (error as any).message);
417417
}
418418
}
419419

0 commit comments

Comments
 (0)