Github user kgiusti commented on a diff in the pull request:
https://github.com/apache/qpid-dispatch/pull/393#discussion_r226763750
--- Diff: python/qpid_dispatch_internal/management/agent.py ---
@@ -417,6 +417,13 @@ def create(self):
def __str__(self):
return super(LinkRouteEntity, self).__str__().replace("Entity(",
"LinkRouteEntity(")
+class RouterConnectionAttachsubscriptionEntity(EntityAdapter):
--- End diff --
Ya know, the default error message isn't too bad:
2018-10-19 15:37:07.199514 -0400 ERROR (error) Python: Exception: Cannot
load configuration file X.conf: No such entity type
'org.apache.qpid.dispatch.attachSubscription'
2018-10-19 15:37:07.199789 -0400 ERROR (error) Traceback (most recent call
last):
File
"/home/kgiusti/work/dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/config.py",
line 169, in configure_dispatch
config = Config(filename)
File
"/home/kgiusti/work/dispatch/qpid-dispatch/python/qpid_dispatch_internal/management/config.py",
line 56, in __init__
% (filename, e))
Exception: Cannot load configuration file X.conf: No such entity type
'org.apache.qpid.dispatch.attachSubscription'
2018-10-19 15:37:07.199805 -0400 MAIN (critical) Router start-up failed:
Python: Exception: Cannot load configuration file X.conf: No such entity type
'org.apache.qpid.dispatch.attachSubscription'
qdrouterd: Python: Exception: Cannot load configuration file X.conf: No
such entity type 'org.apache.qpid.dispatch.attachSubscription'
A little better than a generic parse error.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]