Skip to content

Commit

Permalink
return instead of break if upload is no longer active
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Mar 4, 2021
1 parent a0ff6dd commit b6756c8
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,10 @@ export class GeoJsonImporter extends Importer {
});

if (!this._isActive) {
break;
return {
success: false,
failures,
};
}

if (retries < IMPORT_RETRIES) {
Expand Down

0 comments on commit b6756c8

Please sign in to comment.