# Find out what action failed in the OnFailure tab

**URL:** https://www.finalbuilder.com/forums/t/find-out-what-action-failed-in-the-onfailure-tab/1866
**Category:** Discussion
**Created:** [September 27, 2011, 10:14am UTC](https://www.finalbuilder.com/forums/t/find-out-what-action-failed-in-the-onfailure-tab/1866 "2011-09-27T10:14:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![johan.vanantenaeken](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/d6d6ee/32.png) [@johan.vanantenaeken](https://www.finalbuilder.com/forums/u/johan.vanantenaeken)
#### Post date: [September 27, 2011, 10:14am UTC](https://www.finalbuilder.com/forums/t/find-out-what-action-failed-in-the-onfailure-tab/1866/1 "2011-09-27T10:14:32Z")

</div>

Is there a way that I can find out what was the action that failed when I get in the OnFailure tab?

I want to send an email to some developers when the build fails.

I want to tell the developer what action failed in the email subject.

Is there maybe a variable or somerthing that I can mention in my mail to inform the developer what was the exact action?

Thanks,

Johan.

---

<div class="post-metadata">

### Author: ![stephen.ryan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@stephen.ryan](https://www.finalbuilder.com/forums/u/stephen.ryan)
#### Post date: [September 28, 2011, 7:27am UTC](https://www.finalbuilder.com/forums/t/find-out-what-action-failed-in-the-onfailure-tab/1866/2 "2011-09-28T07:27:59Z")

</div>

Hi Johan   
  
 Unfortunately there is no variable that you can reference that will give you the action that failed the build.   
  
 Without using try/catch blocks to catch errors in places where the build commonly fails, you could use the Export Log Log to File action to export the errors to an xml file (enable the ‘Only Include Error Actions in Log’ option) and then extract the action and the associated error message to variables that are included in the email message.   
  
 Hope this helps.   
  
 Regards,   
 Steve

---

<div class="post-metadata">

### Author: ![johan.vanantenaeken](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/j/d6d6ee/32.png) [@johan.vanantenaeken](https://www.finalbuilder.com/forums/u/johan.vanantenaeken)
#### Post date: [September 30, 2011, 9:04am UTC](https://www.finalbuilder.com/forums/t/find-out-what-action-failed-in-the-onfailure-tab/1866/3 "2011-09-30T09:04:00Z")

</div>

Thanks Stephen, that's kind of what I'm doing now.

I was hoping there maybe was an easier way.

Unfortunaly there seems to be none.
