diff --git a/stepmania/src/RageException.cpp b/stepmania/src/RageException.cpp index e4f575c3aa..9e766e4917 100644 --- a/stepmania/src/RageException.cpp +++ b/stepmania/src/RageException.cpp @@ -54,7 +54,8 @@ void RageException::Throw( const char *sFmt, ... ) DebugBreak(); #endif - ASSERT( g_HandlerThreadID == RageThread::GetInvalidThreadID() || g_HandlerThreadID == RageThread::GetCurrentThreadID() ); + ASSERT_M( g_HandlerThreadID == RageThread::GetInvalidThreadID() || g_HandlerThreadID == RageThread::GetCurrentThreadID(), + ssprintf("RageException::Throw() on another thread: %s", error.c_str()) ); if( g_CleanupHandler != NULL ) g_CleanupHandler( error );