Skip to content

Stop collecting oshi perf counters when initialization fails#2047

Merged
heyams merged 4 commits into
mainfrom
heya/oshi
Jan 13, 2022
Merged

Stop collecting oshi perf counters when initialization fails#2047
heyams merged 4 commits into
mainfrom
heya/oshi

Conversation

@heyams

@heyams heyams commented Jan 12, 2022

Copy link
Copy Markdown
Contributor

Fix IcM 253155448, 276640835.

@heyams heyams requested review from kryalama and trask as code owners January 12, 2022 22:11
OperatingSystem osInfo = systemInfo.getOperatingSystem();
processInfo = osInfo.getProcess(osInfo.getProcessId());
processor = systemInfo.getHardware().getProcessor();
} catch (Error ex) {

Copy link
Copy Markdown
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