mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-18 17:07:35 +08:00
make logging string unicode
This commit is contained in:
@@ -136,7 +136,7 @@ class HttpSession(requests.Session):
|
||||
try:
|
||||
response.raise_for_status()
|
||||
except RequestException as e:
|
||||
logging.error(" Failed to {method} {url}! exception msg: {exception}".format(
|
||||
logging.error(u" Failed to {method} {url}! exception msg: {exception}".format(
|
||||
method=method, url=url, exception=str(e)))
|
||||
else:
|
||||
logging.info(
|
||||
|
||||
Reference in New Issue
Block a user