def __init__(self, *args, **kwargs):
        """
        Log a warning and initialize the exception.
        """
        LOGGER.warning('edx-enterprise unexpectedly failed as if not installed in an OpenEdX platform')
        super(NotConnectedToOpenEdX, self).__init__(*args, **kwargs)
def __init__ ( self , * args , ** kwargs ) : LOGGER . warning ( 'edx-enterprise unexpectedly failed as if not installed in an OpenEdX platform' ) super ( NotConnectedToOpenEdX , self ) . __init__ ( * args , ** kwargs )
Log a warning and initialize the exception.