Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
bug: Do not record the GCM data overflow error
Browse files Browse the repository at this point in the history
Return the GCM data overflow error to the subscription server, but
there's no need to record it into Sentry.

Closes #552
  • Loading branch information
jrconlin committed Jul 28, 2016
1 parent 2c8d8a6 commit b4e8ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autopush/router/gcm.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _route(self, notification, uaid_data):
"to 3070 bytes. Converted buffer too " +
"long by %d bytes" %
(len(notification.data) - mdata),
413, errno=104)
413, errno=104, log_exception=False)

data['body'] = notification.data
data['con'] = notification.headers['content-encoding']
Expand Down

0 comments on commit b4e8ed4

Please sign in to comment.