actions: Print a traceback on failed actions in debug mode.