issues
search
inveniosoftware
/
invenio-files-rest
REST API for uploading/downloading files for Invenio.
https://invenio-files-rest.readthedocs.io
MIT License
9
stars
68
forks
source link
errors: handle string error messages
#224
Closed
zzacharo
closed
4 years ago
zzacharo
commented
4 years ago
The
StorageError
class is used in the codebase by passing a string as error. Due to the fact that inherits from the
RESTException
class, which assumes that the errors are a list, it was throwing a syntax error hiding the actual one.
closes inveniosoftware/invenio-rest#99
StorageError
class is used in the codebase by passing a string as error. Due to the fact that inherits from theRESTException
class, which assumes that the errors are a list, it was throwing a syntax error hiding the actual one.closes inveniosoftware/invenio-rest#99