

def onBackupFailure(self, payload):
    if ('reasonText' in payload):
        self.msgQueue.append(('ERROR: %s' % payload['reasonText']))
    else:
        payload.msgQueue.append('An unknown error occurred while trying to backup.')

dataset/ETHPy150Open benbaptist/minecraft-wrapper/src/irc.py IRC.onBackupFailure/VarMisuse@42/60 `self`->`payload`