Skip to content

Commit 037645e

Browse files
Update src/api/providers/mistral.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
1 parent 131a9b0 commit 037645e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/mistral.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export class MistralHandler implements ApiHandler {
205205
} catch (error) {
206206
if (error instanceof Error) {
207207
this.logDebug(`Completion error: ${error.message}`)
208-
throw new Error(`Mistral completion error: ${error.message}`)
208+
throw new Error(`Mistral completion error: ${error.message}`, { cause: error })
209209
}
210210
throw error
211211
}

0 commit comments

Comments
 (0)