Skip to content

Commit

Permalink
fix: log correct path on category feed file read error
Browse files Browse the repository at this point in the history
  • Loading branch information
versun committed Jun 18, 2024
1 parent f9a5d44 commit cefa68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def category(request, category: str):
except Exception as e:
# Log the exception and return an appropriate error response
logging.exception(
"Failed to read the category feed file: %s / %s", merge_file_path, str(e)
"Failed to read the category feed file: %s / %s", category, str(e)
)
return HttpResponse(status=500)

Expand Down

0 comments on commit cefa68c

Please sign in to comment.