lib/rollbar/truncation/mixin.rb in rollbar-1.5.3 vs lib/rollbar/truncation/mixin.rb in rollbar-2.0.0

- old
+ new

@@ -2,10 +2,10 @@ module Rollbar module Truncation module Mixin def dump(payload) - MultiJson.dump(payload) + Rollbar::JSON.dump(payload) end def truncate?(result) result.bytesize > MAX_PAYLOAD_SIZE end