Enhance the error message

This commit is contained in:
Markus Fleschutz
2021-05-02 21:30:48 +02:00
parent 2f53d5c1d6
commit 8947cbed1f
153 changed files with 153 additions and 153 deletions

View File

@@ -23,6 +23,6 @@ try {
write-error "No German text-to-speech (TTS) voice found"
exit 1
} catch {
write-error "ERROR: line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
write-error "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
exit 1
}