Closed pvandyken closed 1 year ago
Ideally, since I presume the id needs to be a number, there should be some validation of the value passed to -dp
ensuring it looks like a number, printing some sort of -dp must be a number
error when invalid.
agreed. Ill create an internal work ticket and try and get it in the next release
Latest release (0.2.23) includes the validation for the -dp arg along with an updated description in the output of the --help command to clarify the command syntax. Closing issue
Python Version: 3.10 nda-tools Version: 0.2.22
The following error prints out after attempting to download a non-existent package (I was mistakenly using the package name rather than the id):
If I print out
r.json()
in the final function in the trace (print_and_exit
), I get the following:These 400 errors should be caught and lead to some
requested package does not exist
error.