diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-11-11 08:44:48 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-11-11 08:44:48 +0000 |
commit | b9f62e991d5380d780e8462622d9fb863e903684 (patch) | |
tree | 3a40f2050001cc9382bda1acce187acb80c4f396 | |
parent | 69f0da7b402f6dbe3404c10e8804b904d6f2339b (diff) | |
download | rockbox-b9f62e991d5380d780e8462622d9fb863e903684.tar.gz rockbox-b9f62e991d5380d780e8462622d9fb863e903684.zip |
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
-rwxr-xr-x | tools/sapi_voice.vbs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/sapi_voice.vbs b/tools/sapi_voice.vbs index c29b5814d0..919b9a370b 100755 --- a/tools/sapi_voice.vbs +++ b/tools/sapi_voice.vbs | |||
@@ -5,7 +5,7 @@ | |||
5 | ' Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | 5 | ' Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
6 | ' Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | 6 | ' Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
7 | ' \/ \/ \/ \/ \/ | 7 | ' \/ \/ \/ \/ \/ |
8 | ' $Id: sapi5_voice.vbs$ | 8 | ' $Id$ |
9 | ' | 9 | ' |
10 | ' Copyright (C) 2007 Steve Bavin, Jens Arnold, Mesar Hameed | 10 | ' Copyright (C) 2007 Steve Bavin, Jens Arnold, Mesar Hameed |
11 | ' | 11 | ' |
@@ -176,7 +176,8 @@ Do | |||
176 | If Err.Number = &H80070002 Then ' Actually file not found | 176 | If Err.Number = &H80070002 Then ' Actually file not found |
177 | WScript.StdErr.WriteLine "command not found" | 177 | WScript.StdErr.WriteLine "command not found" |
178 | Else | 178 | Else |
179 | WScript.StdErr.WriteLine Err.Description | 179 | WScript.StdErr.WriteLine "error " & Err.Number & ":" _ |
180 | & Err.Description | ||
180 | End If | 181 | End If |
181 | WScript.Quit 2 | 182 | WScript.Quit 2 |
182 | End If | 183 | End If |