Skip to content

Commit

Permalink
docs: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Nov 22, 2023
1 parent 7b0033e commit ce7dc70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/pact_broker/api/resources/error_response_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
require "pact_broker/errors"
require "pact_broker/messages"

# Generates the response headers and body for use when there is an unexpected
# error when executing a Webmachine resource request.
# Generates the response headers and body for use when there is a runtime
# error in the business logic (services and repositories) when executing a Webmachine resource request.
# Obfuscates any exception messages that might expose vulnerablities in production.
# Uses the Accept header to determine whether to return application/problem+json
# or application/hal+json, for backwards compatibility.
# In the next major version of the Pact Broker, all error responses
Expand Down

0 comments on commit ce7dc70

Please sign in to comment.