Guest alok@siplnet.com Report post Posted 05/14/2005 06:54 AM Hello, I would like to know if VG provide any exception handling routeens. I am devloping large scripts, and may make some mistakes somewhere, for example typed the wrong wave file name to play and system plays message that wave file not found to the user. Or this can be other type of exceptions also. I like to know whether you provide anything for exception which we can program in our script so that we can get notified or track those. Regards Alok Tibrewal Share this post Link to post
SupportTeam Report post Posted 05/14/2005 08:22 AM Easiest way to trace 'File not Found' type messages is to enable debug tracing to file and then do a search through the log once a day or so to see if there were any cases of "this sound file cannot be found" messages played. You will then be able to see in the trace where these errors occurred and the circumstances within which they occurred. Share this post Link to post
Guest alok@siplnet.com Report post Posted 05/14/2005 10:09 AM No, I am looking for some auto process I can initiate, like sending email notification or sent some message using net.send. Is there any other method of exception handling is there on VG apart from writing on log file? Is so please let me know about it. Share this post Link to post
SupportTeam Report post Posted 05/14/2005 06:29 PM If you have a particular module which will be playing a sound file which you are concerned may not be present on the system sometimes then you could set a up a VBScript before it which checks for presence of that sound file and if not found then it does an alarm (email, net send etc). There is no general script wide exception handler which is ran whenever a sound file is not found. Looking through event log for these errors is the only way to check if such an event happened on the system. Ensuring that static sound files are present on system is just part of script design & test process, like ensuring that correct paths point to correct modules... Share this post Link to post