Skip to content

Commit

Permalink
[FIX] shopinvader: Fix error message into invoice.download method
Browse files Browse the repository at this point in the history
  • Loading branch information
lmignon committed Oct 30, 2019
1 parent 5691cb5 commit 3961592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shopinvader/services/invoice.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def download(self, _id, **params):
invoice = self._get(_id)
headers, content = self._get_binary_content(invoice)
if not content:
raise MissingError(_("No image found for partner %s") % _id)
raise MissingError(_("No invoice found with id %s") % _id)
response = request.make_response(content, headers)
response.status_code = 200
return response
Expand Down

0 comments on commit 3961592

Please sign in to comment.