Skip to content

Issuing a credential with a schema OOBI that has problems should give you more explicit error messages #368

@bkreiser

Description

@bkreiser

Version

0.2.0-rc2

Environment

Docker

Expected behavior

When there is an issue with a schema OOBI one would expect the error to be logged.

Actual behavior

With the default log level, KERIA doesn't detail what is wrong with a schema OOBI. Issuing a credential just fails saying that you first need to resolve an OOBI. It is only when I set the log level to DEBUG that I found that the OOBI endpoint is returning the wrong Mime Type. I would suggest that error messages like that should be sent to the ERROR log level so that it is obvious what the problem is.

Steps to reproduce

Create a Schema OOBI that has some issue like wrong mime type and then try to use it in issuing a credential.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions