def METHOD_NAME() -> None:
    """Log the content of an exception message."""
    exType, exValue, _ = sys.exc_info()
    if exType is not None:
        logger.error("%s: %s", exType.__name__, str(exValue))
    return