diff --git a/index.js b/index.js index b0fceab..45d5f16 100644 --- a/index.js +++ b/index.js @@ -1289,7 +1289,7 @@ discord.on("interactionCreate", async (interaction) => { interaction.editReply({ embeds }); }).catch((err) => { interaction.editReply({ content: "Failed to get forecast", ephemeral: true }); - if (config.debug >= 1) console.log(`${colors.red("[ERROR]")} Failed to get forecast: ${err.message}`); + if (config.debug >= 1) console.log(`${colors.red("[ERROR]")} Failed to get forecast: ${err}`); }); break;