Don't log asserts in release mode
This commit is contained in:
parent
d96580c651
commit
f76c94e622
|
@ -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() )
|
||||
|
|
Loading…
Reference in New Issue