Skip to content

Commit

Permalink
Removed throw that stops script
Browse files Browse the repository at this point in the history
Don't need to have a throw here. Softly handle it with Write-Error instead to have the script continue.
  • Loading branch information
dpaulson45 committed Jul 23, 2021
1 parent b7387fe commit 0327cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Setup/SetupAssist/Checks/Test-ValidHomeMdb.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ Function Test-ValidHomeMDB {
"All Critical Mailboxes have valid HomeMDB values" | Receive-Output
}
} else {
throw "Unexpected LDIF data."
Write-Error "Unexpected LDIF data in Test-ValidHomeMdb."
}
}

0 comments on commit 0327cdd

Please sign in to comment.