When an exception message contained a non-ascii character, the str() conversion raised an UnicodeEncodeError. Avoid this by simply passing the message itself. Python handles the encoding to locale already. Change-Id: I3c4440fc238d8c8136a9bd93a0040668f82bda6e
19 KiB
19 KiB