# Exit code 15

**URL:** <https://www.finalbuilder.com/forums/t/exit-code-15/4544>\
**Category:** Discussion\
**Created:** [November 7, 2013, 9:58am UTC](https://www.finalbuilder.com/forums/t/exit-code-15/4544 "2013-11-07T09:58:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cgockel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ea5d25/32.png) [@cgockel](https://www.finalbuilder.com/forums/u/cgockel)\
**Post date:** [November 7, 2013, 9:58am UTC](https://www.finalbuilder.com/forums/t/exit-code-15/4544/1 "2013-11-07T09:58:09Z")

</div>

Hi,

on one of our customer's machines I get the exit code 15 (Unknown unhandled exception) from ATCMD. But I don't know where this comes from. Is there a chance to log errors from ATCMD to find out the reason of this exit code? The event viewer didn't help at this point.

Tanks for your help.

HHK

---

<div class="post-metadata">

**Author:** ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)\
**Post date:** [November 7, 2013, 10:14am UTC](https://www.finalbuilder.com/forums/t/exit-code-15/4544/2 "2013-11-07T10:14:08Z")

</div>

Hi HHK,   
  
 There is an action list called “OnFailure” which is run when the script fails for any reason. In this action list place an action to export the log of the build.

---

<div class="post-metadata">

**Author:** ![cgockel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ea5d25/32.png) [@cgockel](https://www.finalbuilder.com/forums/u/cgockel)\
**Post date:** [November 8, 2013, 9:58am UTC](https://www.finalbuilder.com/forums/t/exit-code-15/4544/3 "2013-11-08T09:58:43Z")

</div>

Hi Jason,

I will try that.

Thanks

HHK

---

<div class="post-metadata">

**Author:** ![cgockel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ea5d25/32.png) [@cgockel](https://www.finalbuilder.com/forums/u/cgockel)\
**Post date:** [November 13, 2013, 9:12am UTC](https://www.finalbuilder.com/forums/t/exit-code-15/4544/4 "2013-11-13T09:12:45Z")

</div>

Hi Jason,

that didn't help. I added an action "Export Log to File" to the OnFailure-action list to write the log to the disk. By the way an action, that is used frequently in the project. I added an action to write to a text file, just to exclude a problem with the log. None of the files is written to the disk. Do you have any suggestions how to find out why I get exit code 15?

Thanks!

HHK

---

<div class="post-metadata">

**Author:** ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)\
**Post date:** [November 13, 2013, 11:30am UTC](https://www.finalbuilder.com/forums/t/exit-code-15/4544/5 "2013-11-13T11:30:27Z")

</div>

What version/build of Automise are you using? In the machines temp folder (open an explorer window, type %TMP% in the address bar and hit enter), there should be a bugreport.txt or automisebugreport.txt file there, send that to support @ [finalbuilder.com](http://finalbuilder.com).

---

<div class="post-metadata">

**Author:** ![cgockel](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/c/ea5d25/32.png) [@cgockel](https://www.finalbuilder.com/forums/u/cgockel)\
**Post date:** [November 14, 2013, 9:09am UTC](https://www.finalbuilder.com/forums/t/exit-code-15/4544/6 "2013-11-14T09:09:37Z")

</div>

Hi Jason,

the bugreport is on the way to your support. It's the last automise version 504.

Regards,

HHK
