Don't throw an exception when replaying the current replay log file

fixes #10239
This commit is contained in:
Michael Friedrich 2015-09-29 11:02:08 +02:00
parent dcf3fdf782
commit e5b26e60a5
1 changed files with 4 additions and 2 deletions

View File

@ -692,12 +692,14 @@ void ApiListener::LogGlobHandler(std::vector<int>& files, const String& file)
{
String name = Utility::BaseName(file);
if (name == "current")
return;
int ts;
try {
ts = Convert::ToLong(name);
}
catch (const std::exception&) {
} catch (const std::exception&) {
return;
}