You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/webview/BrowserConnector.kt
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -401,7 +401,9 @@ class BrowserConnector(
401
401
val cause =if (e isCompletionException) e.cause else e
402
402
403
403
// dont post error to UI if user cancels export
404
-
if (!(cause isResponseErrorException&& cause.responseError.message =="Export cancelled by user")) {
404
+
if (cause isResponseErrorException&& cause.responseError.code =="ResponseErrorCode.RequestCancelled) {
405
+
return@whenComplete
406
+
}
405
407
LOG.error { "Failed to perform chat tab bar action $e" }
406
408
params.tabId?.let {
407
409
browser.postChat(chatCommunicationManager.getErrorUiMessage(it, e, null))
0 commit comments