Skip to content

Commit

Permalink
Fix worker asset upload error not being shown
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Sep 19, 2024
1 parent 2cf6dd4 commit 6c7828b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ This is the log of notable changes to EAS CLI and related packages.

### 🐛 Bug fixes

- Fix typo causing `worker:deploy` asset upload errors not to be shown properly.

### 🧹 Chores

## [12.4.1](https://github.com/expo/eas-cli/releases/tag/v12.4.1) - 2024-09-14
Expand Down
10 changes: 5 additions & 5 deletions packages/eas-cli/src/worker/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@ export async function* batchUploadAsync(
}
yield await Promise.race(queue);
}
} catch (error: any) {
if (typeof error !== 'object' || error.name !== 'AbortError') {
throw error;
}
} finally {

if (queue.size > 0) {
controller.abort();
}
} catch (error: any) {
if (error.name !== 'AbortError') {
throw error;
}
}
}

0 comments on commit 6c7828b

Please sign in to comment.