Skip to content

server: log stacks on 500 errors#83992

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
ajwerner:ajwerner/error-stacks
Jul 7, 2022
Merged

server: log stacks on 500 errors#83992
craig[bot] merged 1 commit intocockroachdb:masterfrom
ajwerner:ajwerner/error-stacks

Conversation

@ajwerner
Copy link
Copy Markdown
Contributor

@ajwerner ajwerner commented Jul 7, 2022

Before this change, we'd just log the error body, which often is not very
helpful. The format specifier makes me think that the intention was to log
the stacks. This made debugging this
trivial as opposed to hard.

Release note: None

Before this change, we'd just log the error body, which often is not very
helpful. The format specifier makes me think that the intention was to log
the stacks. This made debugging [this](cockroachdb#83677 (comment))
trivial as opposed to hard.

Release note: None
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@ajwerner ajwerner marked this pull request as ready for review July 7, 2022 17:32
@ajwerner ajwerner requested a review from a team July 7, 2022 17:32
@ajwerner ajwerner requested a review from a team as a code owner July 7, 2022 17:32
Copy link
Copy Markdown
Contributor

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

@ajwerner
Copy link
Copy Markdown
Contributor Author

ajwerner commented Jul 7, 2022

So many flakes, none seem related.

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jul 7, 2022

Build succeeded:

@craig craig bot merged commit 6b7082a into cockroachdb:master Jul 7, 2022
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.

3 participants