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)