Jordan Zimmerman created CURATOR-343:
----------------------------------------

             Summary: Schema exceptions need more context
                 Key: CURATOR-343
                 URL: https://issues.apache.org/jira/browse/CURATOR-343
             Project: Apache Curator
          Issue Type: Improvement
          Components: Framework
            Reporter: Jordan Zimmerman
            Priority: Minor


Current schema violations look like this:

```
Schema violation: Data is not valid for schema: 
Schema{name='950eb5e3-b64f-43a4-833e-4262be0f3018', pathRegex=/clusters/.*, 
path='null', documentation='', dataValidator=InternalSchemaValidator(List(root, 
ip, readonly)), ephemeral=CAN, sequential=CAN, watched=CAN, canBeDeleted=true, 
metadata={*=1, allocators=1}}
```

It lacks information about the invalid aspect. It merely shows what was 
expected.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to