catch ios send exception