Skip to content

fix(nft): return typed status for Solana collection, not 500 - #1455

Merged
tieubao merged 1 commit into
developfrom
fix/solana-nft-400
Jul 8, 2026
Merged

fix(nft): return typed status for Solana collection, not 500#1455
tieubao merged 1 commit into
developfrom
fix/solana-nft-400

Conversation

@tieubao

@tieubao tieubao commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #1454. handleCreateSolanaCollection hardcoded http.StatusInternalServerError, so the new ErrSolanaNFTCollectionNotSupported (a 400) surfaced as a 500 in prod (verified on v6.40.0). Switched to baseerrs.GetStatusCode(err), matching the EVM handler. Now returns a clean 400.

CI baseline-broken (see #1438).

🤖 Generated with Claude Code

handleCreateSolanaCollection hardcoded StatusInternalServerError, so the
ErrSolanaNFTCollectionNotSupported (a 400) surfaced as a 500. Use
GetStatusCode like the EVM handler does.
@tieubao
tieubao merged commit 4f443db into develop Jul 8, 2026
4 of 5 checks passed
@tieubao
tieubao deleted the fix/solana-nft-400 branch July 8, 2026 20:16
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