cernopendata / cernopendata-client

CERN Open Data command-line client
http://cernopendata-client.readthedocs.io/
GNU General Public License v3.0
10 stars 9 forks source link

get-record --recid fixme #5

Closed tiborsimko closed 5 years ago

tiborsimko commented 5 years ago

Current behaviour:

$ cernopendata-client get-record --recid fixme
ERROR: The record id number you supplied is not valid.
404 Client Error: NOT FOUND for url: http://opendata.cern.ch/record/fixme

Expected behaviour:

Just fail after validation (recid should be integer) and do not contact remote server.

P.S. Ditto for --recid values such as -10 or 1.23.