change unnecessary error log to warn