Adding try catch around body parse