mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-16 08:34:10 +02:00
Replace inappropriate assertion with only a log message
This commit is contained in:
parent
bcef48576d
commit
5e21f526b4
@ -910,7 +910,9 @@ void AudacityApp::OnTimer(wxTimerEvent& WXUNUSED(event))
|
|||||||
// PRL: Catch any exceptions, don't try this file again, continue to
|
// PRL: Catch any exceptions, don't try this file again, continue to
|
||||||
// other files.
|
// other files.
|
||||||
if (!SafeMRUOpen(name)) {
|
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"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user