未验证 提交 4852a10b 编写于 作者: S Simon Schick 提交者: GitHub

Fix Python method "set_time_zone" exception message (#1713)

上级 883b5dc2
......@@ -451,6 +451,6 @@ class Session(object):
status = self.__client.setTimeZone(request)
print("setting time zone_id as {}, message: {}".format(zone_id, status.message))
except TTransport.TException as e:
print("Could not get time zone because: ", e)
print("Could not set time zone because: ", e)
raise Exception
self.__zone_id = zone_id
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册