Sha256: 04560f3b604727e044f51d76a1fff540f65afd26e6720bff34b60c506625ce73
Contents?: true
Size: 265 Bytes
Versions: 4
Compression:
Stored size: 265 Bytes
Contents
json.errors do json.child! do json.code 500 json.title "Unexpected Server Error" unless Rails.env.production? json.message @exception.message json.class @exception.class.to_s json.backtrace @backtrace if @backtrace end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
apes-1.0.3 | views/errors/500.json.jbuilder |
apes-1.0.2 | views/errors/500.json.jbuilder |
apes-1.0.1 | views/errors/500.json.jbuilder |
apes-1.0.0 | views/errors/500.json.jbuilder |