Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.9.2
-
None
Description
for example:
error.thrift
namespace py error exception KolodaException { string message }
biz.thrift
namespace py biz include "error.thrift" typedef error.KolodaException KolodaException BizService { void doSomeBiz() throws (1: KolodaException ex) }
compiled code
try:
result.success = self._handler.doSomeBiz()
except KolodaException as ex:
result.ex = ex
`except KolodaException as ex:` should be `except error.KolodaException as ex:`