mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-07-05 09:40:25 +08:00
chore: more error details (#229)
This commit is contained in:
@@ -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 })
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user