How to do error handling in manual VB script in A360 in case of error Output variable storing value as “Bot error”
Page 1 / 1
Hi
You can either use error handler in VB Script (On error resume next) or u can handle the output of VB Script code by checking the output variable.
Hello
I tried using (on error resume next) and tried to return the err.description, but it wont return the script error message but “bot error”.I needed the actual error message for further actions.
Ganesh
Function FunctionName(argList)
On Error Resume Next
'Rest of the function logic here
If Err.Number <> 0 Then
FunctionName = Err.Description
Err.Clear
End If
End Function
Hello Sumit, thanks for the help, it works well.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.