Skip to content

Improve logging of processing errors. #833

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

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Conversation

davidlehn
Copy link
Member

  • Log error as object property so details can be inspected.
  • Add UI note to check console.
  • This is a basic update to improve error logging. The current code is logging the processing error, but at least in the case of recent Chromium, the direct Error logging seems to hide added properties such as details used here. This low effort fix at least allows users to dig into internal jsonld.js errors. Future work includes better custom error handling for common issue reporting in the UI directly.

- Log error as object property so details can be inspected.
- Add UI note to check console.
@davidlehn davidlehn merged commit c9ec0c5 into main Feb 21, 2024
@davidlehn davidlehn deleted the log-processing-errors branch February 21, 2024 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant