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

pull/2245/head
ggurdin 4 weeks ago committed by GitHub
parent 2a71193b71
commit 740bf6da79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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();
}

Loading…
Cancel
Save