Removed error logging in debug condition