Skip to content

Make compile script retry if a 409 is encountered#3

Open
mltsy wants to merge 1 commit intowamazing:masterfrom
mltsy:patch-1
Open

Make compile script retry if a 409 is encountered#3
mltsy wants to merge 1 commit intowamazing:masterfrom
mltsy:patch-1

Conversation

@mltsy
Copy link

@mltsy mltsy commented May 22, 2024

For some reason the existing method for comparing existing files doesn't always pick up on existing sourcemap files (at least in a Next build)

This results in a 409 when trying to upload such files. Here, we catch that error and update the file instead.

For some reason the existing method for comparing existing files doesn't always pick up on existing files (at least in a Next build).

This results in a 409 when trying to overwrite them.  Here, we catch that error and update the file instead.
Comment on lines +95 to +96
else
echo " Failed to upload ${map}, status code: $status"
Copy link
Author

Choose a reason for hiding this comment

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

Not sure if this is what we want here... maybe we want it to just fail?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant