2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00

Dockerfile updates

This commit is contained in:
Oliver Walters
2021-04-07 22:27:55 +10:00
parent d91531720b
commit 4a3ca4638c
4 changed files with 7 additions and 4 deletions

View File

@ -27,5 +27,5 @@ class Command(BaseCommand):
# prints success messge in green
self.stdout.write(self.style.SUCCESS('InvenTree database connected'))
except OperationalError:
self.stdout.write("Database unavailable, waiting 5 seconds ...")
self.stdout.write(self.style.ERROR("Database unavailable, waiting 5 seconds ..."))
time.sleep(5)