Skip to content

Commit

Permalink
Attempting to suppress a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-moore-97 committed Oct 18, 2023
1 parent 4aa4d22 commit 7e26512
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gdrive/analytics_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ async def run_analytics(background_tasks: BackgroundTasks, req: AnalyticsRequest
)

except ValueError as err:
# @suppress("py/stack-trace-exposure")
return responses.JSONResponse(
status_code=422,
content="Failed (invalid date parameters): %s" % (err),
Expand Down

0 comments on commit 7e26512

Please sign in to comment.