Let exception_wrapper::handle, when empty, show the right error message
[folly.git] / folly / ExceptionWrapper.h
index d8b6a4d8b02b36d09dffc3de21f6122371fc312b..b932abb4cb5a585342a811b0fd6be9667584ad43 100644 (file)
@@ -197,7 +197,7 @@ class exception_wrapper final {
     exception_wrapper (*get_exception_ptr_)(exception_wrapper const*);
   };
 
-  [[noreturn]] static void onNoExceptionError();
+  [[noreturn]] static void onNoExceptionError(char const* name);
 
   template <class Ret, class... Args>
   static Ret noop_(Args...);