Skip to content

fix(upload-api): On index fetch fail, really fail#532

Open
Peeja wants to merge 2 commits intomainfrom
fix/index-fetch-fail
Open

fix(upload-api): On index fetch fail, really fail#532
Peeja wants to merge 2 commits intomainfrom
fix/index-fetch-fail

Conversation

@Peeja
Copy link
Member

@Peeja Peeja commented Nov 3, 2025

Don't silently accept failures to fetch the index.

NB: This eventually puts the error message into the response to space/index/add. Is this leaking too much info? It's certainly convenient, but perhaps we should log to console and return something more generic. That should maybe be handled a level above this code, though.

Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

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

This LGTM but I don't think you should be hitting this code in the warm storage network.

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.

2 participants