lib/keystone/base.rb in kanamei-keystone-0.0.10 vs lib/keystone/base.rb in kanamei-keystone-0.0.11
- old
+ new
@@ -12,12 +12,12 @@
log(:INFO,message)
end
def error(message)
if message.is_a? Exception
- log(:ERROR," #{message.message}")
+ log(:ERROR,"#{message.message}")
message.backtrace.each_with_index {|line, i|
- log(:ERROR," #{line})",false)
+ log(:ERROR,"#{line})",false)
}
else
log(:ERROR,message.to_s)
end
end
\ No newline at end of file