Add log message
This commit is contained in:
parent
ef52b39036
commit
eb42ebb528
1 changed files with 1 additions and 0 deletions
|
|
@ -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() );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue