HomePhabricator

py3: convert traceback representation to bytes when logging

Authored by indygreg.

Description

py3: convert traceback representation to bytes when logging

Python's APIs should return a system string. We want to use bytes
for logging. So convert the traceback to bytes before sending
it to the logger.

Differential Revision: https://phab.mercurial-scm.org/D2176

Details

Committed
indygregFeb 11 2018, 10:43 PM
Differential Revision
D2176: py3: convert traceback representation to bytes when logging
Parents
rHGdd905ea1ea60: py3: convert context to bytes instead of str
Branches
Unknown
Tags
Unknown