mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-29 20:21:23 +02:00
Updated list-weather.ps1
This commit is contained in:
@ -127,6 +127,6 @@ try {
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
"⚠️ Sorry: $($Error[0]) in script line $($_.InvocationInfo.ScriptLineNumber)."
|
||||
exit 1
|
||||
}
|
||||
|
Reference in New Issue
Block a user