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.
2 parents f988712 + 62c600f commit 48147fcCopy full SHA for 48147fc
backend/director/db/postgres/db.py
@@ -32,8 +32,6 @@ def __init__(self):
32
)
33
self.cursor = self.conn.cursor(cursor_factory=RealDictCursor)
34
35
- logger.info("Connected to PostgreSQL DB..........")
36
-
37
def create_session(
38
self,
39
session_id: str,
backend/director/entrypoint/api/errors.py
@@ -13,7 +13,8 @@ def handle_http_exception(e):
13
"""Return JSON instead of HTML for HTTP errors."""
14
# start with the correct headers and status code from the error
15
16
- logger.exception(e)
+ if e.code != 404:
17
+ logger.exception(e)
18
19
response = e.get_response()
20
# replace the body with JSON
0 commit comments