Remove extraneous Pgm()

This commit is contained in:
Marek Roszko 2023-05-31 23:02:38 -04:00
parent 8eb265bf4c
commit e536fa966c
1 changed files with 2 additions and 2 deletions

View File

@ -897,7 +897,7 @@ void PGM_BASE::HandleException( std::exception_ptr aPtr )
catch( const std::exception& e )
{
#ifdef KICAD_USE_SENTRY
if( Pgm().IsSentryOptedIn() )
if( IsSentryOptedIn() )
{
sentry_value_t exc = sentry_value_new_exception( "exception", e.what() );
sentry_value_set_stacktrace( exc, NULL, 0 );
@ -937,7 +937,7 @@ void PGM_BASE::HandleAssert( const wxString& aFile, int aLine, const wxString& a
wxLogError( assertStr );
#ifdef KICAD_USE_SENTRY
if( Pgm().IsSentryOptedIn() )
if( IsSentryOptedIn() )
{
sentry_value_t exc = sentry_value_new_exception( "assert", assertStr );
sentry_value_set_stacktrace( exc, NULL, 0 );