Skip to content

delete version gives confusing errors if the crate wasn't a library #899

New issue

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

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

Already on GitHub? Sign in to your account

Closed
jyn514 opened this issue Jul 17, 2020 · 0 comments · Fixed by #1676
Closed

delete version gives confusing errors if the crate wasn't a library #899

jyn514 opened this issue Jul 17, 2020 · 0 comments · Fixed by #1676
Labels
A-admin Area: Administration of the production docs.rs server C-bug Category: This is a bug P-low Low priority issues

Comments

@jyn514
Copy link
Member

jyn514 commented Jul 17, 2020

What it says:

Error: failed to delete the crate

Caused by:
    <?xml version="1.0" encoding="UTF-8"?>
<Error><Code>MalformedXML</Code><Message>The XML you provided was not well-formed or did not validate against our published schema</Message><RequestId>9F280BB6EBFEC7F3</RequestId><HostId>sgrbwS6rXn83txaNR4V3+YyVm/+VhIrD1Nhaiv9og8H5hNnGq2yntXaGt45DQ8rcmopLRGoPqkg=</HostId></Error>

What it should say: nothing, just don't reach out to s3 in the first place.

This is low priority because deleting the crate from the database still works fine.

As a secondary issue, delete version should probably not delete the crate from the database unless deleting the s3 documentation succeeds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-admin Area: Administration of the production docs.rs server C-bug Category: This is a bug P-low Low priority issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant