Added try catch in send raw