lib/synchronisable/error_handler.rb in synchronisable-1.1.8 vs lib/synchronisable/error_handler.rb in synchronisable-1.1.9
- old
+ new
@@ -22,9 +22,11 @@
def handle(source)
invoke(source) do
yield
return true
end
+ rescue SystemExit, Interrupt
+ raise
rescue Exception => e
err_msg = error_message(e, source)
@context.errors << err_msg
@logger.error err_msg