Almighty-Alpaca / JetBrains-Discord-Integration

Discord rich presence integration for all JetBrains IDEs
https://plugins.jetbrains.com/plugin/10233-discord-integration
Apache License 2.0
581 stars 63 forks source link

Make ConnectionError.Failed not log. #401

Closed ByThePowerOfScience closed 4 months ago

ByThePowerOfScience commented 8 months ago

I'm guessing the real reason for this issue happening now is that Discord still has an IPC file despite not running. However, since there's no non-brittle way to know if Discord is actually running, and KDiscordIPC doesn't let us know why the connection failed, I figure the next best thing is just to not make the user know about it.

The drawback is that if there's an actual problem preventing the rich presence from activating, the only way to know is to let the user discover it themselves by looking at their Discord instance.

Fixes #396 by hiding it. Not my favorite solution, but it's not reporting a problem to begin with.