handle no alert data
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# Eval the alert data
|
||||
If ( -not $AlertData ) { Write-Error "No alert data provided" ; Return }
|
||||
|
||||
# Create ticket
|
||||
Import-Module $env:SyncroModule -WarningAction SilentlyContinue
|
||||
$TicketSubject = 'App Crash on ' + $Env:COMPUTERNAME
|
||||
|
||||
Reference in New Issue
Block a user