GESI icon indicating copy to clipboard operation
GESI copied to clipboard

Improve observability/error handling

Open Blacksmoke16 opened this issue 3 years ago • 2 comments

It would be cool to revamp how GESI handles exceptions/logging such that I am able to better leverage Google Scripts logging/error tracking feature to help figure out issues and provide metrics to point out incorrect usages (such as someone using a deprecated/removed endpoint and causing a lot of errors).

Related to this, might also be worth looking into how blacklists could work or something along those lines.

Haven't looked a lot into this yet, but creating an issue for tracking.

Blacksmoke16 avatar Nov 01 '21 05:11 Blacksmoke16

The OAuth2 lib exposes a getLastError method that should be used to better debug why people get Access not granted or expired..

Blacksmoke16 avatar Dec 08 '21 03:12 Blacksmoke16

Should also include the char name in the error message when an ESI error is encountered.

Blacksmoke16 avatar Feb 12 '22 16:02 Blacksmoke16