Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide "debug" option when creating a Thing with a referenced WoT TM, providing error feedback #1656

Closed
thjaeckle opened this issue Jun 15, 2023 · 0 comments · Fixed by #1847
Assignees
Milestone

Comments

@thjaeckle
Copy link
Member

When developing new WoT TMs and testing if the JSON skeleton created by Ditto is as expected it would be very helpful to get meaningful error messages, e.g. when:

  • the model or some references submodels / referenced models cannot be retrieved
  • when the TM is in invalid format / cannot be parsed
  • etc.

Currently, Ditto "fails silently" and just does not create the JSON skeleton (which is also a good approach to be fault tolerant).

However, for this specific case it would make sense to configure a "strict WoT mode", e.g. via query-parameter or header field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant