Update show-notification.ps1

This commit is contained in:
Markus Fleschutz 2022-09-10 22:45:56 +02:00
parent a0a9a6230f
commit a75cb369f1

View File

@ -1,4 +1,4 @@
<#
<#
.SYNOPSIS
Shows a notification
.DESCRIPTION
@ -25,6 +25,6 @@ try {
$balloon.ShowBalloonTip($Duration)
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}