handle exceptions outside animator loop