dcramer/raven — Issue #68: Capture message fails with UTF-8 Error while checksum.update()
Author: optixx
Created: 2012-02-19 10:47:59+00:00
State: open

Top level Sentry exception caught - failed creating log record
Message: Test ﹆(´Ѡ`)﹆
Traceback (most recent call last):
File "/env/lib/python2.6/site-packages/raven/handlers/logging.py", line 58, in emit
return self._emit(record)
File "/env/lib/python2.6/site-packages/raven/contrib/django/handlers.py", line 32, in _emit
return super(SentryHandler, self)._emit(record, request=request)
File "/env/lib/python2.6/site-packages/raven/handlers/logging.py", line 114, in _emit
date=date, **kwargs)
File "/env/lib/python2.6/site-packages/raven/contrib/django/client.py", line 94, in capture
result = super(DjangoClient, self).capture(event_type, **kwargs)
File "/env/lib/python2.6/site-packages/raven/base.py", line 293, in capture
checksum.update(to_unicode(bit) or '')
UnicodeEncodeError: 'ascii' codec can't encode character u'\ufe46' in position 31: ordinal not in range(128)