Change log.warn to log.error

This has been driving me crazy.