@Fox said in Syntax error in IF:
[[SOURCE]].indexOf("h1":""\u007D\u007D\u007D,"loggedIn":true") >= 0 && [[CURRENT_URL]].indexOf("modify/profile.do") >= 0
Fox as always saving the day! Thanks again!
For example, is there a normal error log instead of a manual fail that we can use within the x function? I want to provide a manual error log, for example:
Custom log "red" = [1231241241] [17:45:55] Thread #1 “Number could not be obtained from the number service.”
I want to write this as an error fail log rather than a normal log, but I don't want to use the “Fail” action.
I can do it using the fail action, but the script stops continuing.
If I put the fail action inside try-catch, this time it doesn't log the text inside fail.