lib/keepitsafe.rb in keepitsafe-0.2.0 vs lib/keepitsafe.rb in keepitsafe-0.2.1
- old
+ new
@@ -222,9 +222,12 @@
end
rescue StandardError => e
@error = e
puts e.inspect
puts e.backtrace
+
+ @log_buffer.puts e.inspect
+ @log_buffer.puts e.backtrace
trigger('on_error',{:error => e})
end
upload_log