mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
Merge pull request #5836 from ryanpetrello/migrate-error
fix scary error message on initial (install time) awx-manage migrate Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
commit
96bbbdd5c9
@ -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