lib/dispatch-rider/logging/translator/fail_translator.rb in dispatch-rider-1.9.0 vs lib/dispatch-rider/logging/translator/fail_translator.rb in dispatch-rider-2.0.0
- old
+ new
@@ -1,18 +1,16 @@
module DispatchRider
module Logging
class Translator
-
class FailTranslator < BaseTranslator
def initialize(message, exception:)
super(message)
@exception = exception
end
def translate
exception_info_fragment(@message, @exception)
end
end
-
end
end
end