print tor errors to stdout
This commit is contained in:
parent
62f405425c
commit
b1441e8c10
@ -97,9 +97,11 @@ class NetController:
|
|||||||
logger.debug(line.decode().replace('\n', ''))
|
logger.debug(line.decode().replace('\n', ''))
|
||||||
else:
|
else:
|
||||||
if 'err' in line.decode():
|
if 'err' in line.decode():
|
||||||
logger.error(line.decode().replace('\n', ''))
|
logger.error(
|
||||||
|
line.decode().replace('\n', ''), terminal=True)
|
||||||
elif 'warn' in line.decode():
|
elif 'warn' in line.decode():
|
||||||
logger.warn(line.decode().replace('\n', ''))
|
logger.warn(
|
||||||
|
line.decode().replace('\n', ''), terminal=True)
|
||||||
else:
|
else:
|
||||||
logger.debug(line.decode().replace('\n', ''))
|
logger.debug(line.decode().replace('\n', ''))
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user