Skip to content

Commit

Permalink
Set cause: error.cause.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 16, 2023
1 parent 87ab43b commit c382e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/request.rb
Expand Up @@ -497,7 +497,7 @@ def GET
# multipart/form-data.
def POST
if error = get_header(RACK_REQUEST_FORM_ERROR)
raise error.class, error.message, cause: error
raise error.class, error.message, cause: error.cause
end

begin
Expand Down

0 comments on commit c382e35

Please sign in to comment.