scitokens / scitokens-cpp

A C++ implementation of the SciTokens library with a C library interface
Apache License 2.0
5 stars 22 forks source link

Improve error messages when metadata fetch/parse fails #113

Closed bbockelm closed 1 year ago

bbockelm commented 1 year ago

When the metadata file is corrupt on the issuer, it's difficult to see what / where the failure occurred. This includes the URL of the problem (or problem JSON) in the exception message.

bbockelm commented 1 year ago

@jhiemstrawisc - can you finish up this PR? I'm going to be mostly out for the next 10 days. A few lint issues and a failed unit test (probably something sensitive to the error message?)