For endpoint that calls a logic block,
is it possible to add a global exception handler at the logic block level to catch unhandled exceptions from individual actions. Ideally, it would log or throw an error with some context about which action failed, that would really help with our debugging when issues in production. Since these logic blocks are built by different teams, we often don’t have direct visibility into where the failure happens, even though we still need to consume them for our use cases.
@david.lee most errors, when thrown, include a call stack (usually not exposed to the end user, but available in the JSON API response. However there are some places where this isn’t available and gets swallowed - workflow auto transitions comes to mind.
Is this call stack helpful or are you asking about something else?
