1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

Replace inappropriate assertion with only a log message

This commit is contained in:
Paul Licameli 2021-05-01 12:10:57 -04:00
parent bcef48576d
commit 5e21f526b4

View File

@ -910,7 +910,9 @@ void AudacityApp::OnTimer(wxTimerEvent& WXUNUSED(event))
// PRL: Catch any exceptions, don't try this file again, continue to
// other files.
if (!SafeMRUOpen(name)) {
wxFAIL_MSG(wxT("MRUOpen failed"));
// Just log it. Assertion failure is not appropriate on valid
// defensive path against bad file data.
wxLogMessage(wxT("MRUOpen failed"));
}
}
}