Added more logs for failure cases