Skip to content

Fix literal \", nil\" in handleStagingRemove error format string#345

Open
hussaintauseef wants to merge 1 commit intodatabricks:mainfrom
hussaintauseef:fix/staging-remove-error-format-string
Open

Fix literal \", nil\" in handleStagingRemove error format string#345
hussaintauseef wants to merge 1 commit intodatabricks:mainfrom
hussaintauseef:fix/staging-remove-error-format-string

Conversation

@hussaintauseef
Copy link
Copy Markdown

The format string in handleStagingRemove mistakenly included ", nil" as literal text instead of keeping it outside the Sprintf call, causing every HTTP failure error message to end with ", nil".

Adds a regression test using httptest to verify the error message is clean on a simulated 403 response.

The format string in handleStagingRemove mistakenly included ", nil"
as literal text instead of keeping it outside the Sprintf call,
causing every HTTP failure error message to end with ", nil".

Adds a regression test using httptest to verify the error message
is clean on a simulated 403 response.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hussaintauseef hussaintauseef force-pushed the fix/staging-remove-error-format-string branch from 128cec0 to 9c4f2cb Compare April 7, 2026 03:24
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