Skip to content

Commit

Permalink
Fix example code in invalid_request_body plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Sep 11, 2023
1 parent 6381bc5 commit ee5ef00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roda/plugins/invalid_request_body.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module RodaPlugins
#
# plugin :invalid_request_body do |exception|
# # To treat the exception raised as a submitted parameter
# {body_error: e}
# {body_error: exception}
# end
module InvalidRequestBody
# Exception class raised for invalid request bodies.
Expand Down

0 comments on commit ee5ef00

Please sign in to comment.