Skip to content

Commit c74d079

Browse files
CopilotGrantBirki
andcommitted
Clean up TODO comment in BoomtownWithError handler
Co-authored-by: GrantBirki <[email protected]>
1 parent f474d52 commit c74d079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/plugins/handlers/boomtown_with_error.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def call(payload:, headers:, env:, config:)
66
if payload["boom"] == true
77
log.error("boomtown error triggered by payload: #{payload.inspect} - request_id: #{env["hooks.request_id"]}")
88

9-
# TODO: Get Grape's `error!` method to work with this
9+
# Use Grape's `error!` method to return a custom error response
1010
error!({
1111
error: "boomtown_with_error",
1212
message: "the payload triggered a boomtown error",

0 commit comments

Comments
 (0)