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

Catch PermissionError and raise with more information #111

Merged
merged 5 commits into from
Aug 26, 2024

Conversation

wbjin
Copy link
Collaborator

@wbjin wbjin commented Aug 25, 2024

Catch the PermissionError and raise an error with more information when the program is run without sudo privileges.

zeus/monitor/energy.py Outdated Show resolved Hide resolved
@wbjin wbjin requested a review from jaywonchung August 25, 2024 23:47
zeus/monitor/energy.py Outdated Show resolved Hide resolved
Copy link
Member

@jaywonchung jaywonchung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM.

@jaywonchung jaywonchung merged commit 6a1342b into master Aug 26, 2024
3 checks passed
@jaywonchung jaywonchung deleted the rapl-permission-handling branch August 26, 2024 00:02
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.

2 participants