mirror of
https://github.com/ansible/awx.git
synced 2026-01-28 23:04:41 -03:30
fix error message on initial awx-manage migrate
This commit is contained in:
parent
fd027f87a9
commit
543a87ac88
@ -87,7 +87,7 @@ def _ctit_db_wrapper(trans_safe=False):
|
||||
yield
|
||||
except DBError:
|
||||
if trans_safe:
|
||||
if 'check_migrations' not in sys.argv:
|
||||
if 'migrate' not in sys.argv and 'check_migrations' not in sys.argv:
|
||||
logger.exception('Database settings are not available, using defaults.')
|
||||
else:
|
||||
logger.exception('Error modifying something related to database settings.')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user