GESI
GESI copied to clipboard
Improve observability/error handling
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.
The OAuth2 lib exposes a getLastError method that should be used to better debug why people get Access not granted or expired.
.
Should also include the char name in the error message when an ESI error is encountered.