We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The ScicatClient class has an inconsistent reporting of error messages.
Some methods, like upload_raw_dataset raises a ScicatCommError whose message is the str Scicat's err response.
upload_raw_dataset
ScicatCommError
Others, like get_datasets, return none and log to the logger.
get_datasets
I prefer raising ScicatCommError, but would like to see it be more specific, containing fields for the code and message.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The ScicatClient class has an inconsistent reporting of error messages.
Some methods, like
upload_raw_dataset
raises aScicatCommError
whose message is the str Scicat's err response.Others, like
get_datasets
, return none and log to the logger.I prefer raising
ScicatCommError
, but would like to see it be more specific, containing fields for the code and message.The text was updated successfully, but these errors were encountered: