Hello, I have a Forge UI Button component which calls a function when clicked. Inside this function is the typical oauth client credential call like so:
The problem is the requestCredentials call relies on throwing an exception in order to initiate the oauth code flow - and thus I cannot catch any exceptions that my function may raise. How can I catch exceptions from my function without preventing the oauth flow by Forge?