From f3f6d7602c9e1f3df78955521fcc34f4d5c96c3b Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 15 Jun 2024 23:11:07 +0100 Subject: [PATCH] Gracefully handle other issue comment event types --- lib/ff_bot/dispatch/issue_comment.ex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/ff_bot/dispatch/issue_comment.ex b/lib/ff_bot/dispatch/issue_comment.ex index 417bcd9..d3ec251 100644 --- a/lib/ff_bot/dispatch/issue_comment.ex +++ b/lib/ff_bot/dispatch/issue_comment.ex @@ -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