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 );
|
aCond );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
wxLogError( assertStr );
|
wxLogError( assertStr );
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef KICAD_USE_SENTRY
|
#ifdef KICAD_USE_SENTRY
|
||||||
if( IsSentryOptedIn() )
|
if( IsSentryOptedIn() )
|
||||||
|
|
Loading…
Reference in New Issue