From 7604f7af88494e0e7f3b170bed6184aa0f0ac2e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20M=C3=BCller?= Date: Mon, 21 Mar 2022 21:28:01 +0100 Subject: [PATCH] set to Debug loglevel for error resolving --- TomatenMusic/appsettings.json | 4 ++-- TomatenMusicCore/Prompt/Implementation/QueuePrompt.cs | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/TomatenMusic/appsettings.json b/TomatenMusic/appsettings.json index a14dd36..a618725 100644 --- a/TomatenMusic/appsettings.json +++ b/TomatenMusic/appsettings.json @@ -4,8 +4,8 @@ }, "Logging": { "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Information" + "Default": "Debug", + "Microsoft.AspNetCore": "Debug" } } } \ No newline at end of file diff --git a/TomatenMusicCore/Prompt/Implementation/QueuePrompt.cs b/TomatenMusicCore/Prompt/Implementation/QueuePrompt.cs index 1c97992..a58f7f9 100644 --- a/TomatenMusicCore/Prompt/Implementation/QueuePrompt.cs +++ b/TomatenMusicCore/Prompt/Implementation/QueuePrompt.cs @@ -269,7 +269,10 @@ namespace TomatenMusic.Prompt.Implementation protected async override Task GetMessageAsync() { - return new DiscordMessageBuilder().AddEmbed(Common.GetQueueEmbed(Player)).AddEmbed(await Common.CurrentSongEmbedAsync(Player)).AddEmbeds(Embeds); + return new DiscordMessageBuilder() + .AddEmbed(Common.GetQueueEmbed(Player)) + .AddEmbed(await Common.CurrentSongEmbedAsync(Player)) + .AddEmbeds(Embeds); } } }