hugolgst/rich-go

Error handling in SetActivity doesnt work

Opened this issue · 0 comments

when using SetActivity and checking if there is an error it says there was no error even if there was an error

To reproduce:

  1. Call client.Login
  2. Have it wait before setting the status
  3. After waiting it should call SetActivity with error handling
  4. Close discord before it sets the status

Observed result:
No error is detected even though setting the activity failed (write unix @->/run/user/1000/discord-ipc-0: write: broken pipe in console)