Skip to content

Commit

Permalink
Gracefully handle other issue comment event types
Browse files Browse the repository at this point in the history
  • Loading branch information
jb3 committed Jun 15, 2024
1 parent b35d740 commit f3f6d76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ff_bot/dispatch/issue_comment.ex
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ defmodule FFBot.Dispatch.IssueComment do
end
end

@impl true
def dispatch(_other, _body) do
# no-op
end

defp command_dispatch(command, body) do
Logger.info("Received command: #{command}")
# Generate a new token for this specific installation
Expand Down

0 comments on commit f3f6d76

Please sign in to comment.