Removed unnecessary error logging