Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: return when an error is downplayed #708

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

sommeeeer
Copy link
Contributor

People were reporting getting this error in SST Console:
Name: 'S3Client', commandName: 'GetObjectCommand', input: { Bucket: 'myapp-dev-myappassets-bvaaaaa', Key: '_cache/kbhQ5yYbaaaaaaaAa/dk.cache' }, error: NoSuchKey: The specified key does not exist.

The error gets downplayed correctly but turns out we are not returning when an error is downplayed so this line gets run aswell. This PR fixes this.

Copy link

changeset-bot bot commented Jan 22, 2025

🦋 Changeset detected

Latest commit: 62a24ab

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@opennextjs/aws Patch
app-pages-router Patch
app-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Jan 22, 2025

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/aws@708

commit: 62a24ab

Copy link
Contributor

@conico974 conico974 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks

@conico974 conico974 merged commit 7eda030 into opennextjs:main Jan 22, 2025
3 checks passed
@github-actions github-actions bot mentioned this pull request Jan 22, 2025
@sommeeeer sommeeeer deleted the fix-downplay branch January 22, 2025 22:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants