str(utils.EventError) should be written to stderr, not stdout
This commit is contained in:
parent
d07f9422f7
commit
547c57c8b8
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
args_split=args_split, stdout=stdout, stderr=stderr,
|
args_split=args_split, stdout=stdout, stderr=stderr,
|
||||||
command=command.lower(), is_channel=is_channel)
|
command=command.lower(), is_channel=is_channel)
|
||||||
except utils.EventError as e:
|
except utils.EventError as e:
|
||||||
stdout.write(str(e))
|
stderr.write(str(e))
|
||||||
|
|
||||||
if not hook.kwargs.get("skip_out", False):
|
if not hook.kwargs.get("skip_out", False):
|
||||||
stdout.send()
|
stdout.send()
|
||||||
|
|
Loading…
Reference in a new issue