Skip to content

Commit 6353b6e

Browse files
authored
fix(compass-import-export): flush import progress throttle on import error (#4359)
1 parent ce7d0a9 commit 6353b6e

File tree

1 file changed

+1
-0
lines changed
  • packages/compass-import-export/src/modules

1 file changed

+1
-0
lines changed

packages/compass-import-export/src/modules/import.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ export const startImport = () => {
372372
});
373373
debug('Error while importing:', err.stack);
374374

375+
progressCallback.flush();
375376
showFailedToast(err);
376377

377378
return dispatch(onFailed(err));

0 commit comments

Comments
 (0)