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

Update for OPENPMD_VERBOSE logging #1574

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

franzpoeschel
Copy link
Contributor

Sometimes, applications will swallow exceptions, making it hard to get to the bottom of an error. An example is seen in #1572 where the line [AbstractIOHandlerImpl] IO Task AVAILABLE_CHUNKS failed with exception. Clearing IO queue and passing on the exception. is printed by the openPMD-api, but the openPMD-viewer swallows the exception that is passed further up.

With this PR, the verbose logging will also print the original error.

Also, fix an issue with undefined behavior in verbose logging.

@franzpoeschel franzpoeschel merged commit 8e8d88e into openPMD:dev Dec 18, 2023
31 checks passed
@franzpoeschel franzpoeschel added this to the 0.15.3 milestone Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant