cleanup
This commit is contained in:
parent
a55f61aa8c
commit
8331af2870
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user