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

adapter.aasx: improve error messages #222

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

jkhsjdhjs
Copy link
Contributor

A FileNotFoundError is no longer converted to a ValueError, but re-raised instead. Furthermore, the message of the ValueError now contains more information as to why a file is not a valid OPC package.

Fix #221

A `FileNotFoundError` is no longer converted to a `ValueError`, but
re-raised instead. Furthermore, the message of the `ValueError` now
contains more information as to why a file is not a valid OPC package.

Fix eclipse-basyx#221
@s-heppner
Copy link
Contributor

LGTM

@s-heppner s-heppner merged commit a751264 into eclipse-basyx:main Jan 22, 2024
8 checks passed
@s-heppner s-heppner deleted the improve/aasx_error_messages branch January 22, 2024 08:51
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.

Misleading error message in case of non-existent file
2 participants