Skip to content

Commit

Permalink
edit error message to make it sound less blamey
Browse files Browse the repository at this point in the history
  • Loading branch information
freyamade committed Jul 17, 2024
1 parent 1de29a7 commit 60eca48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/views/xivgear.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def get(self, request: Request, id: str) -> Response:
return Response({'message': e.response.text}, 400)

if len(gear_names) != len(sa_gear):
return Response({'message': 'XIVAPI appears to be missing gear information, please try again later!'}, 400)
return Response({'message': 'Could not find some of the items on XIVAPI, please try again later!'}, 400)

# Use the returned map to calculate the min and max ils, and also replace IDs with names in sa_gear
min_il = float('inf')
Expand Down

0 comments on commit 60eca48

Please sign in to comment.