Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

update debug logger, more nice exception

Signed-off-by: Hemant Kumar <gethemant@gmail.com>
  • Loading branch information...
commit 43d025b9581a08bf57a2f0a77d4b30d65805ac3d 1 parent 2fce0af
@eyvoro eyvoro authored committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 server/lib/meta_worker.rb
View
6 server/lib/meta_worker.rb
@@ -306,7 +306,11 @@ def send_response input,output,result_flag = "ok"
end
def log_exception exception_object
- STDERR.puts exception_object.to_s
+ if exception_object.is_a?(Array)
+ STDERR.puts exception_object.each { |e| e << "\n" }
+ else
+ STDERR.puts exception_object.to_s
+ end
STDERR.flush
end
Please sign in to comment.
Something went wrong with that request. Please try again.