lib/textbringer/utils.rb in textbringer-0.3.2 vs lib/textbringer/utils.rb in textbringer-1.0.0
- old
+ new
@@ -102,10 +102,10 @@
def received_keyboard_quit?
Controller.current.received_keyboard_quit?
end
def show_exception(e)
- if e.is_a?(SystemExit)
+ if e.is_a?(SystemExit) || e.is_a?(SignalException)
raise
end
if Buffer.current&.name != "*Backtrace*"
buffer = Buffer.find_or_new("*Backtrace*", undo_limit: 0)
if !buffer.mode.is_a?(BacktraceMode)