gbv / subjects-api

JSKOS Concept Occurrences Provider implementation
https://coli-conc.gbv.de/subjects/
MIT License
0 stars 0 forks source link

Bug: Some requests cause an error #7

Closed stefandesu closed 2 years ago

stefandesu commented 6 years ago

For example: http://coli-conc.gbv.de/occurrences/api/?member=http:%2F%2Fdewey.info%2Fclass%2F004-006%2Fe23%2F&scheme=*&threshold=2

stefandesu commented 5 years ago

Another example: http://coli-conc.gbv.de/occurrences/api/?member=http:%2F%2Fdewey.info%2Fclass%2F573.1535%2Fe23%2F&scheme=*&threshold=5

Also, it would be better if these kinds of errors were only logged to the server. It's kind of bad that it shows part of the code in the response, even though I don't think we're using any secret keys here that could be exposed.

stefandesu commented 5 years ago

@nichtich This should be an easy fix, shouldn't it? This error occurs a lot in normal usage of Cocoda and spams the console with network errors.