use correct log level (error -> err)