Skip to content

Clean up error handling in Newport XPS service#440

Open
ivalaginja wants to merge 2 commits into
developfrom
clean_up_error_hanling_XPS
Open

Clean up error handling in Newport XPS service#440
ivalaginja wants to merge 2 commits into
developfrom
clean_up_error_hanling_XPS

Conversation

@ivalaginja
Copy link
Copy Markdown
Collaborator

@ivalaginja ivalaginja commented May 7, 2026

The error handling was a bit ambiguous so I separated out an error if there is no correct env variable set, or if it can simply not import the required module.

Tested on hardware and I was able to trigger both error messages independently.

@ivalaginja ivalaginja self-assigned this May 7, 2026
@ivalaginja ivalaginja marked this pull request as ready for review May 7, 2026 10:40
@ivalaginja ivalaginja added enhancement New feature or request and removed enhancement New feature or request labels May 7, 2026
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