Why is there no log action to print at the error level?

Support
  • 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.

  • log_fail("error message")
    

    in the Execute code action

  • @Int64 This is exactly what I was looking for! Thank you, I can now continue working within try catch ❤️