Permalink
Browse files

fixed so that errors are included in the output log

  • Loading branch information...
1 parent 3ebc839 commit 86cc78448cb9b69392615008668850fd7e05d628 @bjornblomqvist committed Mar 6, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/keepitsafe.rb
View
3 lib/keepitsafe.rb
@@ -224,6 +224,9 @@ def do_the_stuff
@error = e
puts e.inspect
puts e.backtrace
+
+ @log_buffer.puts e.inspect
+ @log_buffer.puts e.backtrace
trigger('on_error',{:error => e})
end

0 comments on commit 86cc784

Please sign in to comment.