chore: don't show choreo error on timeout after canceling translation (#4189)

This commit is contained in:
ggurdin 2025-09-30 10:05:20 -04:00 committed by GitHub
parent 2a71193b71
commit 740bf6da79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -184,9 +184,12 @@ class ITController {
e is TimeoutException ? SentryLevel.warning : SentryLevel.error,
);
}
choreographer.errorService.setErrorAndLock(
ChoreoError(raw: e),
);
if (_willOpen) {
choreographer.errorService.setErrorAndLock(
ChoreoError(raw: e),
);
}
} finally {
choreographer.stopLoading();
}