mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Change print to logger, so we can set a level and log exc_info
This commit is contained in:
parent
a723af0f10
commit
9a1351eada
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ def start():
|
|||
)
|
||||
http_server.start(mod_opts['num_processes'])
|
||||
except:
|
||||
print('Rest_tornado unable to bind to port {0}'.format(mod_opts['port']))
|
||||
logger.error('Rest_tornado unable to bind to port {0}'.format(mod_opts['port']), exc_info=True)
|
||||
raise SystemExit(1)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue