Skip to content

Commit

Permalink
refactor: updated log message
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahwaheed committed Nov 27, 2024
1 parent 5b7c749 commit 19a371b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commerce_coordinator/apps/frontend_app_ecommerce/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@ def get(self, request):

return Response(output)
except Exception as exc: # pylint: disable=broad-except
logger.error(f'UserOrdersView threw following exception: [{exc}]')
logger.error(f'[UserOrdersView] An error occured while fetching Order History.\n Data: [{exc}]')
return Response(status=HTTP_400_BAD_REQUEST, data='Something went wrong!')

Check failure on line 116 in commerce_coordinator/apps/frontend_app_ecommerce/views.py

View workflow job for this annotation

GitHub Actions / tests (ubuntu-20.04, 3.8, django42)

Missing coverage

Missing coverage on lines 114-116

0 comments on commit 19a371b

Please sign in to comment.