diff --git a/NadekoBot/Classes/Music/Song.cs b/NadekoBot/Classes/Music/Song.cs index e4cac75c..a5bf151b 100644 --- a/NadekoBot/Classes/Music/Song.cs +++ b/NadekoBot/Classes/Music/Song.cs @@ -4,7 +4,6 @@ using System; using System.Diagnostics; using System.IO; using System.Linq; -using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; @@ -110,18 +109,7 @@ namespace NadekoBot.Classes.Music internal async Task Play(IAudioClient voiceClient, CancellationToken cancelToken) { - var bufferTask = new ConfiguredTaskAwaitable(); - try - { - bufferTask = BufferSong(cancelToken).ConfigureAwait(false); - } - catch (Exception ex) - { - var clr = Console.ForegroundColor; - Console.ForegroundColor = ConsoleColor.Red; - Console.WriteLine($"ERR BUFFER START : {ex.Message}\n{ex}"); - Console.ForegroundColor = clr; - } + var bufferTask = BufferSong(cancelToken).ConfigureAwait(false); var bufferAttempts = 0; const int waitPerAttempt = 500; var toAttemptTimes = SongInfo.ProviderType != MusicType.Normal ? 5 : 9;