Catch action exceptions at top level.