Permalink
Browse files

On exception, log the exception's class, too.

  • Loading branch information...
1 parent e8abee1 commit daccb75a6fa8270a69c903348d8b477ea83240a8 @Pistos Pistos committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/job-processor.rb
@@ -159,7 +159,7 @@ def process(job)
log "Leaving: job #{job.id}"
rescue Exception => e
- log_error "Error processing job #{job.id}: #{e.message}\n" + e.backtrace.join("\n\t")
+ log_error "Error processing job #{job.id}: #{e.class} #{e.message}\n" + e.backtrace.join("\n\t")
end
def lt_client(remote_host)

0 comments on commit daccb75

Please sign in to comment.