From ec0a315000111269d20d68e96bb563c996bf8062 Mon Sep 17 00:00:00 2001 From: kangkan patowary <104445022+kangkan10102001@users.noreply.github.com> Date: Sat, 28 Sep 2024 20:25:16 +0530 Subject: [PATCH] Update wait-for-psql.py Update --- 15.0/wait-for-psql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/15.0/wait-for-psql.py b/15.0/wait-for-psql.py index a55f44098..e89722902 100755 --- a/15.0/wait-for-psql.py +++ b/15.0/wait-for-psql.py @@ -28,5 +28,5 @@ time.sleep(1) 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)