# Stage stop on error

**URL:** <https://www.finalbuilder.com/forums/t/stage-stop-on-error/6441>\
**Category:** Discussion\
**Created:** [March 5, 2019, 11:06am UTC](https://www.finalbuilder.com/forums/t/stage-stop-on-error/6441 "2019-03-05T11:06:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FirstToUse](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/f/85e7bf/32.png) [@FirstToUse](https://www.finalbuilder.com/forums/u/FirstToUse)\
**Post date:** [March 5, 2019, 11:06am UTC](https://www.finalbuilder.com/forums/t/stage-stop-on-error/6441/1 "2019-03-05T11:06:42Z")

</div>

Hi,

i have the problem that a build/stage is on “stop on error” how to disable this?  
I run a FinalBuilder project from CI-Server via a CI-Agent. If the project has the errorlevel 1 or higher the complete stage stops and the copy and delete action after the FinalBuilder project will not be executet.

So how can i run actions after a action has the errorlevel 1 or higher?

regards  
Kai

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [March 5, 2019, 11:23am UTC](https://www.finalbuilder.com/forums/t/stage-stop-on-error/6441/2 "2019-03-05T11:23:53Z")

</div>

Hi Kai,

Check the [stage gate](https://wiki.finalbuilder.com/x/JwEK#Stages-StagesandStageGates). By default, this will have a condition `$Stage.IsSuccessful$ Equals True`. Remove this to continue to the next stage when one stage fails.

There is also a `Treat failure as warning` option on the FinalBuilder action. You can use this to prevent the stage stopping with a failure when the FinalBuilder action fails.

Alternatively you can use [Try and Catch actions](https://wiki.finalbuilder.com/x/cAEK) to handle failure and continue processing subsequent actions.

---

<div class="post-metadata">

**Author:** ![FirstToUse](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/f/85e7bf/32.png) [@FirstToUse](https://www.finalbuilder.com/forums/u/FirstToUse)\
**Post date:** [March 5, 2019, 12:47pm UTC](https://www.finalbuilder.com/forums/t/stage-stop-on-error/6441/3 "2019-03-05T12:47:05Z")

</div>

Hi Sparky,

I’m using catch finally now. Works fine! Sometimes I don’t have the right ideas for my problems. Thanks for helping me out. 😄
