Skip to content

Add Try Catch to NewServiceObject#1113

Merged
dpaulson45 merged 1 commit into
mainfrom
dpaul-HcDev
Jun 20, 2022
Merged

Add Try Catch to NewServiceObject#1113
dpaulson45 merged 1 commit into
mainfrom
dpaul-HcDev

Conversation

@dpaulson45
Copy link
Copy Markdown
Member

@dpaulson45 dpaulson45 commented Jun 20, 2022

Issue:
Script is failing to complete due to some services not having Status or StartType provided.

Fix:
Placed a try catch around the ToString().

Validation:
None

Resolved #1112

avoid script failing with null-valued expression in NewServiceObject
@dpaulson45 dpaulson45 merged commit c3c4f51 into main Jun 20, 2022
@dpaulson45 dpaulson45 deleted the dpaul-HcDev branch June 20, 2022 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Issue] - Health Checker - null-valued expression in NewServiceObject

2 participants