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 committed by Gunnar Beutner
parent 72c19fe32d
commit 8b1a262086
1 changed files with 4 additions and 2 deletions

View File

@ -625,12 +625,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;
}