We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7cdf89f + 3f7dd98 commit 302337aCopy full SHA for 302337a
bot-components/GitHub_subscriptions.ml
@@ -197,7 +197,7 @@ let github_action ~event ~action json =
197
| "check_suite", "requested" ->
198
Ok (CheckSuiteRequested (check_suite_info_of_json json))
199
| _ ->
200
- Ok (UnsupportedEvent "Unsupported GitHub action.")
+ Ok (UnsupportedEvent (f "Unsupported GitHub action %s / %s." event action))
201
202
let github_event ~event json =
203
match event with
@@ -224,7 +224,7 @@ let github_event ~event json =
224
| ref_type ->
225
Error (f "Unexpected ref_type: %s" ref_type) )
226
227
- Ok (UnsupportedEvent "Unsupported GitHub event.")
+ Ok (UnsupportedEvent (f "Unsupported GitHub event %s." event))
228
229
let receive_github ~secret headers body =
230
let open Result.Monad_infix in
0 commit comments