Added logs for finding errors easily.