def _bad_crc(self, chain_serial, msg):
        """Show warning and increase counter."""
        self.bad_crc[chain_serial] += 1
        self.log.warning("Chain: %sMsg contains bad CRC: %s.", chain_serial, "".join(HEX_FORMAT % b for b in msg))