mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
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…
x
Reference in New Issue
Block a user