Skip to content

Commit

Permalink
chore: more error details (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
josStorer committed Apr 21, 2023
1 parent 0347a40 commit 54e75d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Browser.runtime.onConnect.addListener((port) => {
err.message.includes(m),
)
)
port.postMessage({ error: t('Exceeded maximum context length') })
port.postMessage({ error: t('Exceeded maximum context length') + '\n' + err.message })
else port.postMessage({ error: err.message })
}
}
Expand Down

0 comments on commit 54e75d6

Please sign in to comment.