Repository navigation
Conversation
Contributor
lovasoa
marked this pull request as ready for review
December 5, 2026 23:11
| Arc::new(SourcedTemplate::from_split(split)), | ||
| app_state, | ||
| 0, | ||
| 0, |
| Arc::new(SourcedTemplate::from_split(split)), | ||
| app_state, | ||
| 0, | ||
| 0, |
| Arc::new(SourcedTemplate::from_split(split)), | ||
| app_state, | ||
| 0, | ||
| 0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SQLPage authors see the parser or database message first, with the original SQL file and line numbers when available. One disclosure shows the request and runtime. Request headers appear in the plain-text report. The copy button confirms success with a checkmark, and the same report is available as a text file if clipboard access is unavailable. Production visitors get a support reference that appears in the server logs, including when a page fails after sending some content.
The tokenizer can identify an exact character. Parser errors carry the parser’s own wording and a statement start. Database errors carry their authored statement range and show the SQL sent to the driver separately. The report uses the cached source that actually ran. Existing custom error templates retain their previous fields.
In development, an operator can configure
development_report_key_sha256and sendX-SQLPage-Report-Keyon a diagnostic request. Its copied report includes cookie and authorization values, repeated headers and the submitted body, including uploads within the capture limit. These responses disable caching. Other development requests redact credential headers.