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

Stop collecting oshi perf counters when initialization fails #2047

Merged
merged 4 commits into from
Jan 13, 2022
Merged

Conversation

heyams
Copy link
Contributor

@heyams heyams commented Jan 12, 2022

Fix IcM 253155448, 276640835.

OperatingSystem osInfo = systemInfo.getOperatingSystem();
processInfo = osInfo.getProcess(osInfo.getProcessId());
processor = systemInfo.getHardware().getProcessor();
} catch (Error ex) {
Copy link
Member

Choose a reason for hiding this comment

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

let's log this at debug level

@heyams heyams merged commit ea19102 into main Jan 13, 2022
@heyams heyams deleted the heya/oshi branch January 13, 2022 19:05
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