abantos / bolt

A task automation tool (similart to grunt) for Python
MIT License
15 stars 8 forks source link

Improved Error Handling of Tasks #45

Closed CurroRodriguez closed 8 years ago

CurroRodriguez commented 8 years ago

Description

A new switch --continue-on-error is now supported that allows bolt to continue executing tasks if they report failures. This allow us to let task implementers to handle all exceptions and return an error code that it is evaluated and if the value is not 0, we continue or exit according to the switch. The switch by default is set to false, so the task will abort.