<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def GetDefaultContract(self):
 """ Get the default contract. Returns: contract (Contract):
 if Successful, a contract of type neo.SmartContract.Contract, otherwise an Exception. Raises: Exception: if no default contract is found. Note: Prints a warning to the console if the default contract could not be found. """

        try:
            return self.GetContracts()[0]
        except Exception as e:
            logger.error("Could not find default contract: %s" % str(e))
            raise