mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-07 09:18:41 +00:00
fix: cleaner interrupted experience (#6785)
Co-authored-by: Dax <mail@thdxr.com>
This commit is contained in:
@@ -569,6 +569,7 @@ function App() {
|
||||
|
||||
sdk.event.on(SessionApi.Event.Error.type, (evt) => {
|
||||
const error = evt.properties.error
|
||||
if (error && typeof error === "object" && error.name === "MessageAbortedError") return
|
||||
const message = (() => {
|
||||
if (!error) return "An error occurred"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user