mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
fix(e2b): normalize setup rejection reasons
This commit is contained in:
@@ -213,7 +213,7 @@ export class E2BCodeRuntime extends CodeRuntime {
|
||||
(runtime) => { cleanup(); resolve(runtime) },
|
||||
(error: unknown) => {
|
||||
cleanup()
|
||||
reject(error instanceof Error ? error : new Error(String(error)))
|
||||
reject(new Error(messageOf(error), { cause: error }))
|
||||
},
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user