lib/swing_helpers.rb in sensible-cinema-0.19.1 vs lib/swing_helpers.rb in sensible-cinema-0.19.2
- old
+ new
@@ -38,12 +38,12 @@
@block = block
add_action_listener do |e|
begin
block.call
rescue Exception => e
- puts 'got fatal exception', e
- puts e.backtrace.join("\n")
- System.exit(1) # LODO no exit
+ puts 'got fatal exception in button', e, e.class
+ puts e.backtrace.join("\n"), e
+ System.exit(1) # LODO no exit [?]
end
end
self
end
\ No newline at end of file