From 5e21f526b49edcbfa8af8d36caef94b366d35d73 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sat, 1 May 2021 12:10:57 -0400 Subject: [PATCH] Replace inappropriate assertion with only a log message --- src/AudacityApp.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AudacityApp.cpp b/src/AudacityApp.cpp index 2a4090f07..3608f8b0c 100644 --- a/src/AudacityApp.cpp +++ b/src/AudacityApp.cpp @@ -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")); } } }