This PR adds additional logging and checking to the launch of the system profiler from within EDMC to detect and handle any errors that occur when launching the EDMC system profiler, to log the error to the EDMC log, and to display a status update to that effect.
Additionally, given that empty sequences are considered false in a boolean context, removed a few useless len checks that could just be bool checks.
Example Images
Type of Change
Enhancement
How Tested
Tested by intentionally throwing errors at places within the System Profiler and ensuring the resulting errors are recorded to the EDMC Logs.
Description
This PR adds additional logging and checking to the launch of the system profiler from within EDMC to detect and handle any errors that occur when launching the EDMC system profiler, to log the error to the EDMC log, and to display a status update to that effect.
Additionally, given that empty sequences are considered false in a boolean context, removed a few useless len checks that could just be bool checks.
Example Images
Type of Change
Enhancement
How Tested
Tested by intentionally throwing errors at places within the System Profiler and ensuring the resulting errors are recorded to the EDMC Logs.