mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 04:06:49 +02:00
Add more error log
Change-Id: I71ac5be4a5ca5b7ab4acc8f71ebefd95f8bfb3c1
This commit is contained in:
parent
4c3fbcf3e1
commit
dbc08c08c3
@ -276,7 +276,8 @@ public final class ResourceIdParser {
|
||||
String key = keys[i];
|
||||
String[] el = keys[i].split(NM_CHK);
|
||||
if (el.length != 3) {
|
||||
throw new FailedException("Malformed event subject, cannot parse");
|
||||
throw new FailedException("Malformed event subject, cannot parse " +
|
||||
key + " in " + dpath);
|
||||
}
|
||||
try {
|
||||
resBldr.addKeyLeaf(el[0], el[1], el[2]);
|
||||
|
||||
@ -495,6 +495,7 @@ public class DistributedDynamicConfigStore
|
||||
//log.info("UNKNOWN operation in store");
|
||||
type = UNKNOWN_OPRN;
|
||||
}
|
||||
// FIXME don't use ResourceIdParser
|
||||
path = ResourceIdParser.getResId(event.path().pathElements());
|
||||
notifyDelegate(new DynamicConfigEvent(type, path));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user