This commit is contained in:
kangkan patowary 2024-09-28 20:28:39 +05:30 committed by GitHub
commit 3d27f659ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,5 +28,5 @@ if __name__ == '__main__':
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)