|
#1
|
|||
|
|||
Suppressing error message from Err.Raise
Is there a way to suppress the message "Error at Line x, Column y" when using Err.Raise?
I want to make a user action with vbscript code fail, but I don't like it, when it looks like an error in th scipt. |
#2
|
|||
|
|||
Return a value of vbldStepStatFailed from the action's vbld_BuildStep method instead of raising an error. In VBScript:
vbld_BuildStep = vbldStepStatFailed http://www.visualbuild.com/Manual/userdefaction.htm |
#3
|
|||
|
|||
That's just what I tried, but it doesn't work as expected:
Even when returning vbldStepStatFailed, the step is logged as "Completed" and Visual Build doesn't branch into the Failure Steps subroutine. I've tried to enter the code directly into a VBScript-Step and also by implementing it into a user-defined action, same outcome... I'm using Visual Build v5.5 |
#4
|
|||
|
|||
That capability is new to v6.
|
|
|