Remove unused error logging