We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e9bc8e commit 73cef68Copy full SHA for 73cef68
NEWS.md
@@ -10,6 +10,7 @@ User-visible changes worth mentioning.
10
the /oauth/token path. Switch from using a DateTime object to update
11
AR to using a Time object. (Issue #668)
12
- [#677] Support editing application-specific scopes via the standard forms.
13
+- [#682] Pass error hash to Grape `error!`
14
15
## 3.0.0 (rc1)
16
lib/doorkeeper/grape/helpers.rb
@@ -26,7 +26,7 @@ def doorkeeper_render_error_with(error)
26
403
27
end
28
29
- error!({ error: error.description }, status_code)
+ error!({ error: error.description }, status_code, error.headers)
30
31
32
private
0 commit comments