Don't log asserts in release mode

This commit is contained in:
Seth Hillbrand 2023-06-12 15:26:12 -07:00
parent d96580c651
commit f76c94e622
1 changed files with 2 additions and 0 deletions

View File

@ -934,7 +934,9 @@ void PGM_BASE::HandleAssert( const wxString& aFile, int aLine, const wxString& a
aCond );
}
#ifndef NDEBUG
wxLogError( assertStr );
#endif
#ifdef KICAD_USE_SENTRY
if( IsSentryOptedIn() )