Casing consistency for exception_wrapper::throw_exception
[folly.git] / folly / python / test / simplebridge.pyx
index f697dff8ff66eebd8cdf9b50ee07c8c258f81e40..b8f7106e34086103ce8589e26632bef684fe9d59 100644 (file)
@@ -24,7 +24,7 @@ cdef void handle_uint64_t(cFollyTry[uint64_t]&& res, PyObject* userData):
     future = <object> userData
     if res.hasException():
         try:
-            res.exception().throwException()
+            res.exception().throw_exception()
         except Exception as ex:
             future.set_exception(ex)
     else: