Skip to content

Conversation

@mja00
Copy link
Contributor

@mja00 mja00 commented Dec 21, 2025

For some reason Mojang thought it'd be a good idea to log the entire error.

@mja00 mja00 requested a review from a team as a code owner December 21, 2025 21:18
@github-project-automation github-project-automation bot moved this to Awaiting review in Paper PR Queue Dec 21, 2025
@mja00 mja00 changed the title fix: don't print stacktrace Don't print missing profile stacktrace Dec 21, 2025
@mbax
Copy link
Contributor

mbax commented Dec 21, 2025

[Not saying it must be done] I wonder if it's worth putting this behind the server.properties debug toggle, to figure out why a server is failing to get info.

@lynxplay lynxplay moved this from Awaiting review to PR Party candidate in Paper PR Queue Dec 23, 2025
@lynxplay
Copy link
Contributor

I'd agree with mbax. Might also make sense to maybe include some more in the debug like status code 💀

@mja00
Copy link
Contributor Author

mja00 commented Dec 23, 2025

Yeah I can grab the status code pretty easily. Lemme look at gating the stacktrace behind that toggle.

@mja00
Copy link
Contributor Author

mja00 commented Dec 23, 2025

Done. Now it'll log the stacktrace if we're in debug mode and always log the HTTP status code and reason from the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: PR Party candidate

Development

Successfully merging this pull request may close these issues.

6 participants