|
|
@ -113,6 +113,7 @@ class ConnectionProcess(object):
|
|
|
|
self.sock.listen(1)
|
|
|
|
self.sock.listen(1)
|
|
|
|
messages.append(('vvvv', 'local domain socket listeners started successfully'))
|
|
|
|
messages.append(('vvvv', 'local domain socket listeners started successfully'))
|
|
|
|
except Exception as exc:
|
|
|
|
except Exception as exc:
|
|
|
|
|
|
|
|
messages.extend(self.connection.pop_messages())
|
|
|
|
result['error'] = to_text(exc)
|
|
|
|
result['error'] = to_text(exc)
|
|
|
|
result['exception'] = traceback.format_exc()
|
|
|
|
result['exception'] = traceback.format_exc()
|
|
|
|
finally:
|
|
|
|
finally:
|
|
|
@ -304,6 +305,7 @@ def main():
|
|
|
|
'exception': traceback.format_exc()
|
|
|
|
'exception': traceback.format_exc()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if os.path.exists(socket_path):
|
|
|
|
messages.extend(Connection(socket_path).pop_messages())
|
|
|
|
messages.extend(Connection(socket_path).pop_messages())
|
|
|
|
messages.append(('vvvv', sys.stdout.getvalue()))
|
|
|
|
messages.append(('vvvv', sys.stdout.getvalue()))
|
|
|
|
result.update({
|
|
|
|
result.update({
|
|
|
|