diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/longboat/collector.rb | 4 | ||||
-rw-r--r-- | lib/longboat/raiders.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/longboat/collector.rb b/lib/longboat/collector.rb index 01bb7f0..e217ab4 100644 --- a/lib/longboat/collector.rb +++ b/lib/longboat/collector.rb @@ -9,7 +9,7 @@ module Longboat end def report!(name, value, help: nil, type: nil, labels: {}, timestamp: Time.now) - raise CollectorTransactionError if @tranaction.nil? + raise CollectorTransactionError if @transaction.nil? name = prefix(name) @@ -18,7 +18,7 @@ module Longboat end def redact!(name, labels: nil) - raise CollectorTransactionError if @tranaction.nil? + raise CollectorTransactionError if @transaction.nil? name = prefix(name) diff --git a/lib/longboat/raiders.rb b/lib/longboat/raiders.rb index b77066e..cd93858 100644 --- a/lib/longboat/raiders.rb +++ b/lib/longboat/raiders.rb @@ -44,7 +44,7 @@ module Longboat $stderr.puts "[ERROR] Caught exception from raider: #{name}" $stderr.puts "[ERROR] Aborted collector transaction" - $stderr.puts "[ERROR] Exception reads: \"#{e.message}\"" + $stderr.puts "[ERROR] Backtrace reads: \"#{e.backtrace}\"" end end end |