change LOGGER.err to LOGGER.error