Catch any error when getting retention