• Julien Muchembled's avatar
    master: fix crash when aborting early e.g. when failing to open listening socket · 9a3898e4
    Julien Muchembled authored
    Pre-mortem data:
    Traceback (most recent call last):
    File "neo/master/app.py", line 172, in run
    self._run()
    File "neo/master/app.py", line 180, in _run
    self.listening_conn = ListeningConnection(self, None, self.server)
    File "neo/lib/connection.py", line 298, in __init__
    connector.makeListeningConnection()
    File "neo/lib/connector.py", line 133, in makeListeningConnection
    self._error('listen', e)
    File "neo/lib/connector.py", line 93, in _error
    raise ConnectorException
    ConnectorException
    Traceback (most recent call last):
      File "neomaster", line 50, in <module>
        sys.exit(neo.scripts.neomaster.main())
      File "neo/scripts/neomaster.py", line 31, in main
        app.run()
      File "neo/master/app.py", line 175, in run
        self.log()
      File "neo/master/app.py", line 167, in log
        if self.pt is not None:
    AttributeError: 'Application' object has no attribute 'pt'
    9a3898e4
backup_app.py 17.9 KB