If you access shib API with non-existence queryid/resultid , the following TypeError occurs.
For, exapmle, if you access /download/tsv/:resultid with non-existence resultid, the following TypeError occurs.
/.../shib/app.js:573
res.set('X-Shib-Query-ID', query.queryid);
^
TypeError: Cannot read property 'queryid' of null
at null. (/.../shib/app.js:573:37)
at /.../shib/lib/shib/client.js:257:14
at Statement. (/.../shib/lib/shib/localdiskstore.js:162:17)
If you access shib API with non-existence queryid/resultid , the following TypeError occurs.
For, exapmle, if you access /download/tsv/:resultid with non-existence resultid, the following TypeError occurs.
/.../shib/app.js:573 res.set('X-Shib-Query-ID', query.queryid); ^ TypeError: Cannot read property 'queryid' of null at null. (/.../shib/app.js:573:37)
at /.../shib/lib/shib/client.js:257:14
at Statement. (/.../shib/lib/shib/localdiskstore.js:162:17)