lib/rabbit/renderer/display/drawing-area-base.rb in rabbit-2.1.8 vs lib/rabbit/renderer/display/drawing-area-base.rb in rabbit-2.1.9
- old
+ new
@@ -191,10 +191,14 @@
end
def reload_source(&callback)
if @canvas.need_reload_source?
callback ||= Utils.process_pending_events_proc
- super(callback)
+ begin
+ super(callback)
+ rescue
+ @canvas.logger.error($!)
+ end
end
end
def attach_to(window, container=nil, &block)
super