{"action":"opened","issue":{"url":"https://api.github.com/repos/logentries/le_python/issues/49","repository_url":"https://api.github.com/repos/logentries/le_python","labels_url":"https://api.github.com/repos/logentries/le_python/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/logentries/le_python/issues/49/comments","events_url":"https://api.github.com/repos/logentries/le_python/issues/49/events","html_url":"https://github.com/logentries/le_python/issues/49","id":131341989,"number":49,"title":"logger thread dies when exception contains illegal characters.","user":{"login":"jtheuer","id":96364,"avatar_url":"https://avatars.githubusercontent.com/u/96364?v=3","gravatar_id":"","url":"https://api.github.com/users/jtheuer","html_url":"https://github.com/jtheuer","followers_url":"https://api.github.com/users/jtheuer/followers","following_url":"https://api.github.com/users/jtheuer/following{/other_user}","gists_url":"https://api.github.com/users/jtheuer/gists{/gist_id}","starred_url":"https://api.github.com/users/jtheuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtheuer/subscriptions","organizations_url":"https://api.github.com/users/jtheuer/orgs","repos_url":"https://api.github.com/users/jtheuer/repos","events_url":"https://api.github.com/users/jtheuer/events{/privacy}","received_events_url":"https://api.github.com/users/jtheuer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-04T13:11:08Z","updated_at":"2016-02-04T13:11:08Z","closed_at":null,"body":"We found this exception during testing:\r\n\r\n```\r\nException in thread Thread-1:\r\nTraceback (most recent call last):\r\nFile \"/usr/lib/python2.7/threading.py\", line 810, in __bootstrap_inner\r\nself.run()\r\nFile \"/usr/local/lib/python2.7/dist-packages/logentries/utils.py\", line 96, in run\r\nmultiline = le_helpers.create_unicode(data).replace(\r\nFile \"/usr/local/lib/python2.7/dist-packages/logentries/helpers.py\", line 31, in create_unicode\r\nreturn unicode(ch, 'utf-8')\r\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xf5 in position 716: invalid start byte\r\n```\r\n\r\n```\r\n> python --version\r\nPython 2.7.6\r\n```\r\n\r\nSince the worker thread dies, the whole application will suddenly stop working because of https://github.com/logentries/le_python/issues/48\r\n"}}