Fix Issue 3789: "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 92: ordinal not in range(128)" sending an email on Windows
Review Request #6985 — Created Feb. 27, 2015 and submitted
Fix Issue 3789: "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 92: ordinal not in range(128)" sending an email on Windows.
Problem is that the windows exception text can contain Umlauts, which brakes the logging.
This way of error logging of exceptions is used in many classes of RB.
Someone should refactor all these occurences, becuase they might not be save!
Testing in Application
Description | From | Last Updated |
---|---|---|
local variable 'e' is assigned to but never used |
reviewbot | |
Col: 80 E501 line too long (83 > 79 characters) |
reviewbot | |
Col: 23 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 23 E128 continuation line under-indented for visual indent |
reviewbot | |
Col: 27 E126 continuation line over-indented for hanging indent |
reviewbot | |
Col: 80 E501 line too long (83 > 79 characters) |
reviewbot | |
Col: 9 E124 closing bracket does not match visual indentation |
reviewbot |
- Commit:
-
4a9ddf09940a1b5b14398f587405ff7283380b7655c08f3e9340899deb30c73ec776d94e7c1f290a
- Diff:
-
Revision 2 (+8 -6)
- Change Summary:
-
Hopefully finally fixed this intention thing.
- Commit:
-
55c08f3e9340899deb30c73ec776d94e7c1f290afabe0277e6686f3acb81f746ed2c6359c65c8c28
- Diff:
-
Revision 3 (+2 -3)
-
Tool: PEP8 Style Checker Processed Files: reviewboard/notifications/email.py Tool: Pyflakes Processed Files: reviewboard/notifications/email.py
- Change Summary:
-
Fixed diff problem
- Commit:
-
fabe0277e6686f3acb81f746ed2c6359c65c8c28b0a43ebe143d91b902272e09e3b0c58992b5e2a6
- Diff:
-
Revision 4 (+7 -8)
- Change Summary:
-
Fix bracket indention
- Commit:
-
b0a43ebe143d91b902272e09e3b0c58992b5e2a6516bce801b53c443cdcb40797d7fac74d72e9a7a
- Diff:
-
Revision 5 (+6 -8)