JDA icon indicating copy to clipboard operation
JDA copied to clipboard

Record where an interaction was acknowledged first

Open freya022 opened this issue 1 year ago • 0 comments

Pull Request Etiquette

Changes

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

Closes Issue: NaN

Description

This PR enables saving stack traces when an user acknowledges an interaction, helping the user find out where their interaction was acknowledged first, in addition to where it tried to acknowledge from.

The stack traces are only saved after the first acknowledgement exception is thrown, and will be disabled when:

  • The same exception happens again, this time with additional info
  • Or, after 15 minutes (gets reset when the first acknowledgement exception is thrown)

freya022 avatar Jun 06 '24 20:06 freya022