Skip to content

Commit 0dbd02b

Browse files
lcianclaude
andcommitted
fix(snapshots): Await send() before calling error_for_failures
The objectstore-client 0.1.6 upgrade changed send() to return a Future, so it needs to be awaited before calling error_for_failures(). Also add changelog entry for the PR. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 35d2923 commit 0dbd02b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Features
6+
7+
- (snapshots) Support dedicated objectstore auth token ([#3258](https://github.com/getsentry/sentry-cli/pull/3258))
8+
59
### Fixes
610

711
- Replace `eprintln!` with `log::info!` for progress bar completion messages when the progress bar is disabled (e.g. in CI). This avoids spurious stderr output that some CI systems treat as errors ([#3223](https://github.com/getsentry/sentry-cli/pull/3223)).

src/commands/build/snapshots.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ fn upload_images(
410410
warn!("Some images share identical file names. Only the first occurrence of each is included:{details}");
411411
}
412412

413-
let result = runtime.block_on(async { many_builder.send().error_for_failures().await });
413+
let result = runtime.block_on(async { many_builder.send().await.error_for_failures().await });
414414

415415
let uploaded_count = manifest_entries.len();
416416

0 commit comments

Comments
 (0)