buda-base / lds-pdi

http://purl.bdrc.io BDRC Linked Data Server
Apache License 2.0
2 stars 0 forks source link

strange 500 error instead of 404 #161

Closed eroux closed 4 years ago

eroux commented 4 years ago

this:

http://purl.bdrc.io/query/graph/ResInfo?I_LIM=500&R_RES=bda:WMNBCA

should give a 404 at worse, not a 500, also the exception mapping is weird now, we are presented with this quite unhelpful html page instead of a a json with some info

eroux commented 4 years ago

another on http://purl.bdrc.io/query/table/Work_ImgList?R_RES=bdr:W1FPl2251&format=csv&profile=simple&pageSize=500

MarcAgate commented 4 years ago

Done as of commit 713c823 In the second case you mentioned, the issue was an empty result set (http://purl.bdrc.io/query/table/Work_ImgList?R_RES=bdr:W1FPl2251&pageSize=500) not handled properly for the csv format.

MarcAgate commented 4 years ago

@eroux Can we close this one now ?