Update wait-for-psql.py
Update
This commit is contained in:
parent
5fb6a84274
commit
ec0a315000
@ -28,5 +28,5 @@ if __name__ == '__main__':
|
|||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
if error:
|
if error:
|
||||||
print("Database connection failure: %s" % error, file=sys.stderr)
|
print(f"Database connection failure after {int(time.time() - start_time)} seconds: {error}", file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user