-
Notifications
You must be signed in to change notification settings - Fork 4
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
Provide standard structure for DBS errors #1
Comments
In addition, we need common Python parser to parse DBS error structure. It can be a separate module or can be part of DBSClient codebase. |
The new DBS error codes are in place starting v00.04.26 tag. The codebase can be found in
The DBS web handler now wraps HTTP failure request with two common structures:
Finally, on a client side a particular error will look like this:
The returned HTTP response contains all relevant information to identify DBS error, its code, and user client info (such as host, user-agent, etc). Each DBSError can be wrapped into another one to provide relevant information how error was originated (similar to Python traceback). |
Per discussion in dmwm/WMCore#10961 we should adopt standard structure for DBS errors which should include DBS specific error codes.
The text was updated successfully, but these errors were encountered: