We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31deeeb commit ee43a12Copy full SHA for ee43a12
arduino-ide-extension/src/browser/widgets/component-list/filterable-list-container.tsx
@@ -13,7 +13,7 @@ import {
13
} from '../../../common/protocol/installable';
14
import { ArduinoComponent } from '../../../common/protocol/arduino-component';
15
import { SearchBar } from './search-bar';
16
-import { ListWidget } from './list-widget';
+import { ListWidget,UserAbortError } from './list-widget';
17
import { ComponentList } from './component-list';
18
import { ListItemRenderer } from './list-item-renderer';
19
import {
@@ -148,6 +148,11 @@ export class FilterableListContainer<
148
try {
149
await install({ item, progressId, version });
150
} catch (err) {
151
+ if (err instanceof UserAbortError) {
152
+ // Do not toast an error message on user abort.
153
+ // https://github.com/arduino/arduino-ide/issues/2063
154
+ return;
155
+ }
156
const message = LibraryPackage.is(item) // TODO: this dispatch does not belong here
157
? libraryInstallFailed(name, version)
158
: platformInstallFailed(name, version);
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments