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

[Discord] Show good error message when widgets are disabled #981

Closed
Daniel15 opened this issue May 1, 2017 · 0 comments
Closed

[Discord] Show good error message when widgets are disabled #981

Daniel15 opened this issue May 1, 2017 · 0 comments
Labels
good first issue New contributors, join in! service-badge New or updated service badge

Comments

@Daniel15
Copy link
Member

Daniel15 commented May 1, 2017

When widgets are disabled for a Discord server, their API sends back a HTTP 403 with this error:

{
  "code": 50004,
  "message": "Widget Disabled"
}

We currently show "inaccessible" in this case, but we should probably show "widget disabled" or something like that.

Perhaps we should always use the message from the response if available, rather than simply showing "inaccessible".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue New contributors, join in! service-badge New or updated service badge
Projects
None yet
Development

No branches or pull requests

2 participants