Removed old Error logging