Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
log the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy McKay committed Apr 26, 2012
1 parent ab8fa36 commit abb75c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def __call__(self):
try:
receipt = decode_receipt(self.receipt)
except:
log_exception({'receipt': '%s...' % self.receipt[:10],
'addon': self.addon_id})
self.log('Error decoding receipt')
return self.invalid()

Expand Down

0 comments on commit abb75c2

Please sign in to comment.