-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Make ReadClass error message more verbose #911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ReadClass error message more verbose #911
Conversation
|
Starting build on |
io/io/src/TBufferFile.cxx
Outdated
| clReq->GetSchemaRules()->HasRuleWithSourceClass(cl->GetName()) ) | ||
| ) ) { | ||
| Error("ReadClass", "got wrong class: %s", cl->GetName()); | ||
| Error("ReadClass", "got wrong class %s instead of %s", cl->GetName(), clReq->GetName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe
Error("ReadClass", "The on-file class is \"'%s\" which is not compatible with the requested class: \"%s\"", cl->GetName(), clReq->GetName());
would be even better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, updated it!
6d72579 to
4231dd0
Compare
|
Starting build on |
|
Build failed on ubuntu14/native. |
|
Build failed on centos7/gcc49. |
|
Build failed on mac1012/native. |
|
Build failed on slc6/gcc62. |
|
Build failed on slc6/gcc49. |
|
@phsft-bot build! |
|
Starting build on |
No description provided.