Skip to content

Commit fae5ed7

Browse files
committed
fix: change one more reject to be an Error
Signed-off-by: Donnie Adams <[email protected]>
1 parent 7a32707 commit fae5ed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gptscript.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ export class Run {
532532
}).then(res => {
533533
resolve(res.stdout)
534534
}).catch(e => {
535-
reject(e)
535+
reject(new Error(e))
536536
})
537537
})
538538
}

0 commit comments

Comments
 (0)