microsoft / CSS-Exchange

Exchange Server support tools and scripts
MIT License
1.21k stars 332 forks source link

Handle exception in write to screen for Health Checker Report #2089

Closed dpaulson45 closed 3 weeks ago

dpaulson45 commented 1 month ago

Issue: When we start to write to the screen, continue to write if an exception occurs. More information see #1885

Reason: Should continue to write to the screen even after the exception. Log out the debug information and flag it as an issue so issues can come in still.

Fix: Add try catch around the functions that handle the output information.

Resolved #1885

Validation: Lab tested.