I even tried a script step to filter out the quotes:
Set failText = Application.Macros(vbldProject).Item("FAILURE_TEXT ")
Dim failOutput
failOutput = "%FAILSTEP_OUTPUT%"
Escape(failOutput)
If failText Is Nothing Then
' if the macro doesn't exist yet, initialize to one
Application.Macros(vbldProject).Add "FAILURE_TEXT", Application.ExpandMacros(failOutput)
Else
failText.Value = Application.ExpandMacros(failOutput)
End If
Then I get this error:
Error at Line 4, Column 85 (Unterminated string constant)
Code: failOutput = "Error message from the server: 'an item with that name already exists'
|