From 740bf6da794f6751a4140103980ba9f234f35bf6 Mon Sep 17 00:00:00 2001 From: ggurdin <46800240+ggurdin@users.noreply.github.com> Date: Tue, 30 Sep 2025 10:05:20 -0400 Subject: [PATCH] chore: don't show choreo error on timeout after canceling translation (#4189) --- lib/pangea/choreographer/controllers/it_controller.dart | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/pangea/choreographer/controllers/it_controller.dart b/lib/pangea/choreographer/controllers/it_controller.dart index c2b4f3cd0..eb4a56c69 100644 --- a/lib/pangea/choreographer/controllers/it_controller.dart +++ b/lib/pangea/choreographer/controllers/it_controller.dart @@ -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(); }