From b9f62e991d5380d780e8462622d9fb863e903684 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 11 Nov 2007 08:44:48 +0000 Subject: 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 --- tools/sapi_voice.vbs | 5 +++-- 1 file 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 @@ ' 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 -- cgit v1.2.3