Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not log server-side errors in non-debug mode #14

Open
Muqsit opened this issue Nov 29, 2021 · 0 comments
Open

Do not log server-side errors in non-debug mode #14

Muqsit opened this issue Nov 29, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Muqsit
Copy link
Owner

Muqsit commented Nov 29, 2021

Response codes starting with the digit 5 are server-side errors (as opposed to client-side errors) and are not our concern, at least not in production.
They should be ignored instead.

[23:14:07.777] [Server thread/CRITICAL]: muqsit\tebexapi\utils\TebexException: "Expected response code 200, got 502" (EXCEPTION) in "pmsrc/virions/TebexAPI-master/src/muqsit/tebexapi/connection/handler/SimpleTebexConnectionHandler" at li
ne 57
--- Stack trace ---
  #0 plugins/Tebex-master/src/muqsit/tebex/thread/TebexThread(101): muqsit\tebexapi\connection\handler\SimpleTebexConnectionHandler->handle(object muqsit\tebexapi\connection\request\TebexRequestHolder#574313, array[4])
  #1 pmsrc/src/thread/CommonThreadPartsTrait(93): muqsit\tebex\thread\TebexThread->onRun()
  #2 (): pocketmine\thread\Thread->run()
--- End of exception information ---
@Muqsit Muqsit added the bug Something isn't working label Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant