From e5b26e60a54e711a5afadafddb30634e74da23fe Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Tue, 29 Sep 2015 11:02:08 +0200 Subject: [PATCH] Don't throw an exception when replaying the current replay log file fixes #10239 --- lib/remote/apilistener.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/remote/apilistener.cpp b/lib/remote/apilistener.cpp index c4422108f..f1288dcaf 100644 --- a/lib/remote/apilistener.cpp +++ b/lib/remote/apilistener.cpp @@ -692,12 +692,14 @@ void ApiListener::LogGlobHandler(std::vector& 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; }