mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
[platform] skipping invalid patterns when processing the Defender exclusion list; improving diagnostics (IJPL-37118)
GitOrigin-RevId: 44068fea0f2e12f8dc66169638734fa47a1f0a3d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e745cbf271
commit
08f643e0c7
@@ -29,6 +29,7 @@ try {
|
||||
}
|
||||
} catch [System.Management.Automation.ItemNotFoundException] {
|
||||
} catch [System.Management.Automation.DriveNotFoundException] {
|
||||
} catch [System.Management.Automation.WildcardPatternException] {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +52,7 @@ try {
|
||||
|
||||
Set-MpPreference -ExclusionPath $exclusions
|
||||
} catch {
|
||||
Write-Host $_.Exception.Message
|
||||
Write-Host "$($_.Exception.GetType()): $($_.Exception.Message)"
|
||||
Write-Host $_.ScriptStackTrace
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user