This commit is contained in:
Master Kwoth 2017-07-06 19:46:23 +02:00
parent a55f61aa8c
commit 8331af2870

View File

@ -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;
}
}