Skip to content
This repository was archived by the owner on Aug 17, 2023. It is now read-only.

Commit 78ad61f

Browse files
author
Issam Hakimi aka Killix
committed
fix(logger): show error message and backtrace
1 parent 9f791ef commit 78ad61f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • rootfs/opt/fluentd/deis-output/lib/fluent/mixin

rootfs/opt/fluentd/deis-output/lib/fluent/mixin/deis.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def push(producer, value)
4949
producer.write(value)
5050
end
5151
rescue Exception => e
52-
puts "Error:#{map.message}"
52+
puts "Error:#{e.message}"
53+
puts e.backtrace
5354
end
5455
end
5556

0 commit comments

Comments
 (0)