diff --git a/src/NadekoBot/Services/Impl/Ytdl.cs b/src/NadekoBot/Services/Impl/Ytdl.cs index fd690d20..5fce2bba 100644 --- a/src/NadekoBot/Services/Impl/Ytdl.cs +++ b/src/NadekoBot/Services/Impl/Ytdl.cs @@ -32,7 +32,8 @@ namespace NadekoBot.Services.Impl process.Start(); var str = await process.StandardOutput.ReadToEndAsync(); var err = await process.StandardError.ReadToEndAsync(); - _log.Warn(err); + if(!string.IsNullOrEmpty(err)) + _log.Warn(err); return str; } }