ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 13 forks source link

RepoServer does not report error for invalid path #872

Open dvstans opened 1 year ago

dvstans commented 1 year ago

When the repo server is processing a "get data size" command, it will check if the file path is valid; however, it simply sets the reply size to 0 and continues. It should catch the error and reply with an appropriate error message instead, such that the task processing code can properly report the issue to the end-user.