Skip to content

Commit

Permalink
fix: change one more reject to be an Error
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed Aug 30, 2024
1 parent 7a32707 commit fae5ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gptscript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export class Run {
}).then(res => {
resolve(res.stdout)
}).catch(e => {
reject(e)
reject(new Error(e))
})
})
}
Expand Down

0 comments on commit fae5ed7

Please sign in to comment.