Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Get specific error



  • When an error occurs, how do I get this specific error message? Does it stores this information somewhere? What I need is a try catch block that will send out an e-mail with the specific error message.

    Also, how do I stop the next action from being executed when the current action within a block fails?

    Thanks.

    Product: BuildMaster
    Version: 5.4.2



  • We plan to add a variable function (such as @GetLogs) that will return error logs from the current scope, so you could then do whatever with them (email, post to Slack, etc).

    Regarding "how do I stop the next action from being executed", this is the behavior of the execution engine. See Action Statement in the formal specification:

    "8. If an exception occurred within one of the above methods or a log message was written with an error level, then the execution state will change to Failing and an error will be Raised"


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation