fixed missing api base url env

This commit is contained in:
Owen
2024-12-20 21:30:19 +01:00
parent 085cb7098c
commit f61c739591
7 changed files with 28 additions and 38 deletions
+3 -1
View File
@@ -52,8 +52,10 @@ defmodule PlantIdDiscordBot.Cog.PlantNet do
cleanup_saved_images(saved_images)
rescue
e ->
Logger.error(Exception.format(:error, e, __STACKTRACE__))
Api.create_followup_message(interaction.application_id, interaction.token, %{
content: e.message
content: "An error occurred. This error has been logged."
})
end
end