BUG: test and fix invalid exception catch in revert_actions.