mirror of
https://github.com/ansible/awx.git
synced 2024-10-31 15:21:13 +03:00
silence the noisy error that's printed w/ awx-manage check_migrations
This commit is contained in:
parent
ce9da4edb7
commit
6e4f3efc4b
@ -126,6 +126,7 @@ def _ctit_db_wrapper(trans_safe=False):
|
|||||||
bottom_stack.close()
|
bottom_stack.close()
|
||||||
# Log the combined stack
|
# Log the combined stack
|
||||||
if trans_safe:
|
if trans_safe:
|
||||||
|
if 'check_migrations' not in sys.argv:
|
||||||
logger.warning('Database settings are not available, using defaults, error:\n{}'.format(tb_string))
|
logger.warning('Database settings are not available, using defaults, error:\n{}'.format(tb_string))
|
||||||
else:
|
else:
|
||||||
logger.error('Error modifying something related to database settings.\n{}'.format(tb_string))
|
logger.error('Error modifying something related to database settings.\n{}'.format(tb_string))
|
||||||
|
Loading…
Reference in New Issue
Block a user