From eb42ebb528770b992b41d9c9ef04ba7e22ff459d Mon Sep 17 00:00:00 2001 From: Peter Conrad Date: Tue, 17 Sep 2019 08:04:50 +0200 Subject: [PATCH] Add log message --- src/thread/thread_d.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/thread/thread_d.hpp b/src/thread/thread_d.hpp index 214c2f0..88c8d45 100644 --- a/src/thread/thread_d.hpp +++ b/src/thread/thread_d.hpp @@ -394,6 +394,7 @@ namespace fc { * is probably just as likely to cause crashes */ if( std::current_exception() != std::exception_ptr() ) { + elog( "Thread ${name} yielded in exception handler!", ("name",thread::current().name()) ); print_stacktrace( std::cerr ); assert( std::current_exception() != std::exception_ptr() ); }