Skip to content

Commit 7c6d704

Browse files
committed
Print payload if it Aborts
1 parent 4b703c8 commit 7c6d704

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Sources/App/Controllers/Slack/SlackAddPeopleController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ final class SlackAddPeopleController {
100100
guard
101101
let value = payloadJSON["actions"]?.array?.first?["selected_options"]?.array?.first?["value"]?.int,
102102
let messageTs = payloadJSON["message_ts"]?.string else {
103+
Swift.print(payloadJSON)
103104
throw Abort.badRequest
104105
}
105106

0 commit comments

Comments
 (0)