Setting Fail output

Support
  • Hello

    I'm trying to figure out how to set fail conditions. For example, the thread could fail on random error I don't know of.. would there be a way to write data to a file, if thread fails? I don't have specific error, so I'm not sure how to set this in BAS.

    Help is much appreciated as always

    Thanks & Happy New Year

  • @Bambo19 use error handling. Error message and action id stored in [[LAST_ERROR]] and [[ERROR_ID]] variables when error occurs.