From b4e8ed439f223cd00d1b524e0544ddd7a792e4f9 Mon Sep 17 00:00:00 2001 From: jrconlin Date: Thu, 28 Jul 2016 13:42:18 -0700 Subject: [PATCH] bug: Do not record the GCM data overflow error Return the GCM data overflow error to the subscription server, but there's no need to record it into Sentry. Closes #552 --- autopush/router/gcm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autopush/router/gcm.py b/autopush/router/gcm.py index 1f24a190..da903fce 100644 --- a/autopush/router/gcm.py +++ b/autopush/router/gcm.py @@ -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']