Browse files

Sender logs fine now.

  • Loading branch information...
1 parent dd8d1d7 commit c4bd3a3dd97f37f80df31e942380157abedb580b @janroesner janroesner committed Oct 28, 2011
Showing with 1 addition and 15 deletions.
  1. +1 −15 lib/sender.rb
View
16 lib/sender.rb
@@ -7,21 +7,7 @@ def self.send! options = nil
begin
commits = GitReport::Supplier.commits(options)
rescue Exception => e
- puts "A client error occured during data transfer."
- if GitReport.global_opts[:trace]
- puts "Exception: #{e}\n"
- e.backtrace.each do |line|
- puts "#{line}\n"
- end
- else
- puts "Run with --trace to get more info."
- end
- grlog(0, "send! - A client error occures during data transfer.")
- grlog(0, "send! - Exception: #{e}")
- grlog(0, "send! - Backtrace:")
- e.backtrace.each do |line|
- grlog(0, line)
- end
+ communicate e, nil
exit
end

0 comments on commit c4bd3a3

Please sign in to comment.