This seems like an easy question, as answered here. But, there is more to it.

I want to know if I can capture the error message of a failed action, say from within an onErrorActionList. Then, I could log it, as it isn't a critical failure and we don't want to display it to the user. Is there a built-in variable that stores the error message? I couldn't find this in the documentation.

Ideally, it would look something like the following and log a message like "unknown element nonexistent_component", in this case. So, as you can see in order to log an appropriate message on this componentSelection action, we would require the InstallBuilder error message. Otherwise, there is no way for me to determine, which component that this action failed on and why.

    <select>foo bar baz nonexistent_component</select>
            <text>There was an error: ${error}</text>

asked 08 Jun '12, 04:51

DevHopeful_2012's gravatar image

accept rate: 9%

It is not currently possible but we are working to implement it. Could you follow up on this at so we can send you a new build once it is implemented?


answered 14 Jun '12, 07:16

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 08 Jun '12, 04:51

Seen: 1,238 times

Last updated: 14 Jun '12, 07:16