Output both error number and description. * Another try to get svn:keywords right.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15569 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
69f0da7b40
commit
b9f62e991d
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
' Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||
' Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||
' \/ \/ \/ \/ \/
|
||||
' $Id: sapi5_voice.vbs$
|
||||
' $Id$
|
||||
'
|
||||
' Copyright (C) 2007 Steve Bavin, Jens Arnold, Mesar Hameed
|
||||
'
|
||||
|
@ -176,7 +176,8 @@ Do
|
|||
If Err.Number = &H80070002 Then ' Actually file not found
|
||||
WScript.StdErr.WriteLine "command not found"
|
||||
Else
|
||||
WScript.StdErr.WriteLine Err.Description
|
||||
WScript.StdErr.WriteLine "error " & Err.Number & ":" _
|
||||
& Err.Description
|
||||
End If
|
||||
WScript.Quit 2
|
||||
End If
|
||||
|
|
Loading…
Reference in a new issue