diff --git a/src/thread/thread_d.hpp b/src/thread/thread_d.hpp index 2f06d00ee..720948528 100644 --- a/src/thread/thread_d.hpp +++ b/src/thread/thread_d.hpp @@ -398,7 +398,7 @@ namespace fc { print_stacktrace( stacktrace ); elog( "Thread ${name} yielded in exception handler!\n${trace}", ("name",thread::current().name())("trace",stacktrace.str()) ); - assert( std::current_exception() != std::exception_ptr() ); + assert( std::current_exception() == std::exception_ptr() ); } check_for_timeouts();