lib/grape/exceptions/base.rb in grape-1.7.0 vs lib/grape/exceptions/base.rb in grape-1.7.1

- old
+ new

@@ -8,12 +8,13 @@ FALLBACK_LOCALE = :en attr_reader :status, :headers def initialize(status: nil, message: nil, headers: nil, **_options) + super(message) + @status = status @headers = headers - super(message) end def [](index) send index end