wrapped send_message in try/catch