cleanup
This commit is contained in:
parent
a55f61aa8c
commit
8331af2870
@ -32,6 +32,7 @@ namespace NadekoBot.Services.Impl
|
|||||||
process.Start();
|
process.Start();
|
||||||
var str = await process.StandardOutput.ReadToEndAsync();
|
var str = await process.StandardOutput.ReadToEndAsync();
|
||||||
var err = await process.StandardError.ReadToEndAsync();
|
var err = await process.StandardError.ReadToEndAsync();
|
||||||
|
if(!string.IsNullOrEmpty(err))
|
||||||
_log.Warn(err);
|
_log.Warn(err);
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user