mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 03:30:02 -03:30
Merge pull request #2449 from ryanpetrello/noisy-check-migrations
silence the noisy error that's printed w/ `awx-manage check_migrations` Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -126,7 +126,8 @@ 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:
|
||||||
logger.warning('Database settings are not available, using defaults, error:\n{}'.format(tb_string))
|
if 'check_migrations' not in sys.argv:
|
||||||
|
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))
|
||||||
finally:
|
finally:
|
||||||
|
|||||||
Reference in New Issue
Block a user