in script, how to get in script: component action and page from the python exception stack
For example, when an exception is triggered:
Error running action 'component.onActionPerformed' on pages/test@D/root/Button_2:
Traceback (most recent call last): File "<function:runAction>", line 7, in runAction UnboundLocalError: local variable 'test' referenced before assignment
I would like to add some context information in my logger error message