util/exception.sh shows stack trace as expected but don't exit on Ctrl+C
vboufleur opened this issue · 2 comments
vboufleur commented
Hi all!
As the title says, util/exception.sh shows stack trace as expected but don't exit on Ctrl+C
.
The script just keeps running, just as if I have pressed Enter
.
Is this a bug? A incorrect implementation of my part?
vboufleur commented
Is there a way for me to configure util/exception.sh
to always exit if a error happens? This would solve my current issue.
niieani commented
Hi @vboufleur, I think I stumbled upon this issue too - I think it's a bug.
As to your second question, I think there's a way. Change this line:
bash-oo-framework/lib/util/exception.sh
Line 233 in 0276ffa
to exit 0
or exit 1
.