fix: cleaner interrupted experience (#6785)

Co-authored-by: Dax <mail@thdxr.com>
This commit is contained in:
David Hill
2026-01-05 14:53:19 +00:00
committed by GitHub
parent 11b0df6b86
commit 2cb3b0484b
2 changed files with 16 additions and 3 deletions

View File

@@ -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"