Is there a way to catch exceptions thrown from AWS...
# aws
l
Is there a way to catch exceptions thrown from AWS get-functions that have been wrapped in the AWS classic provider? Specifically, I'm using
aws.identitystore.getGroupOutput
, but Okta hasn't pushed the group to AWS SSO yet, so the group isn't being found. An exception is being thrown, but the normal try/catch syntax isn't catching it. Which I guess makes sense if that's happening in the future in some way... but I still need to convert the unfriendly error into a friendly "please kick Okta hard then wait a bit" message.