abantos / bolt

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

Prevents Swallow Exception Callstack #86

Closed CurroRodriguez closed 7 years ago

CurroRodriguez commented 7 years ago

Description

When a task raises an exception, we used to catch that exception, then evaluate if we should continue on error, and if we didn't, we will raise the same exception again. Unfortunately, this clears the original call stack, which doesn't help when debugging.

This is an initial fix to insure that if we are not continuing on error, that we don't even catch the exception. I also changed the logging to use the exception method.