We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32a584f commit 1d66e67Copy full SHA for 1d66e67
src/main.py
@@ -45,7 +45,7 @@ def create_app() -> Quart:
45
return app
46
47
def liveness():
48
- print("Alive!")
+ logging.debug("Alive!")
49
pass
50
51
def readiness():
@@ -74,10 +74,11 @@ def readiness():
74
raise HealthError(f"Error checking for library table: {e}")
75
# Optionally, you might want to raise this error
76
# raise
77
- print("Ready!")
+ logging.debug("Ready!")
78
except Exception:
79
raise HealthError(f"Failed to connect to the database! {app.config['POSTGRESQL_DATABASE_URI']}")
80
81
app = create_app()
82
+
83
print(f"Running app...")
84
#asyncio.run(serve(app, config), debug=True)
0 commit comments