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

Add JDA Version to Websocket errors #1777

Conversation

Andre601
Copy link
Contributor

Pull Request Etiquette

Changes

  • Internal code
  • Library interface (affecting end-user code)
  • Documentation
  • Other: _____

Closes Issue: NaN

Description

Adds the JDA version to the "Got an unexpected error. Please redirect following message to the devs:" message, which may now look like this:

[00:00:01 ERROR]: [net.dv8tion.jda.internal.requests.WebSocketClient] Got an unexpected error. Please redirect following message to the devs:
JDA 4.3.0_307
MESSAGE_CREATE -> // JSON stuff
// Exception

This is mainly to help people, most importantly maintainers, to easily find out what version is used and if the error is caused by an outdated version of JDA or if the issue persists in newer builds and is therefore something to fix or look into.

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.

None yet

2 participants