ci(lint): enhance PSScriptAnalyzer settings and suppress false positives; improve error handling in scripts
This commit is contained in:
@@ -306,7 +306,7 @@ try {
|
||||
try {
|
||||
Invoke-RestMethod -Uri $url -Method Post -Body $body `
|
||||
-ContentType 'application/json' -TimeoutSec 10
|
||||
} catch { }
|
||||
} catch { Write-Verbose "Webhook POST failed (non-critical): $_" }
|
||||
} -ArgumentList $WebhookUrl, $warnBody
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user