Skip to content

Commit b144470

Browse files
author
harvey_xiang
committed
fix: format
1 parent d5c59a0 commit b144470

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/memos/api/middleware/request_context.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Request context middleware for automatic trace_id injection.
33
"""
44

5-
import os
65
import time
76

87
from collections.abc import Callable
@@ -18,10 +17,6 @@
1817

1918
logger = memos.log.get_logger(__name__)
2019

21-
print("ARMS_APP_NAME", os.environ["ARMS_APP_NAME"])
22-
print("ARMS_REGION_ID", os.environ["ARMS_REGION_ID"])
23-
print("ARMS_LICENSE_KEY", os.environ["ARMS_LICENSE_KEY"])
24-
2520

2621
def extract_trace_id_from_headers(request: Request) -> str | None:
2722
"""Extract trace_id from various possible headers with priority: g-trace-id > x-trace-id > trace-id."""

0 commit comments

Comments
 (0)