Skip to content

Commit

Permalink
Remove error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jussiarpalahti authored Nov 10, 2023
1 parent 11e23fe commit 856fe87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ async def trigger_error(_request: Request) -> Response:
async def api_v2(request: Request, endpoint: dict) -> Response:
request_data = await extract_data_from_starlette_request(request) # data validation done here
# TODO : remove
logging.error(request_data)
# DONE
# logging.error(request_data)
if request_data.get("extra"):
logging.warning(f"RequestModel contains extra values: {request_data['extra']}")
if request_data["request"].get("extra"):
Expand Down

0 comments on commit 856fe87

Please sign in to comment.