From 0a1e494f9803fbfb4e6720b30485a665fc837041 Mon Sep 17 00:00:00 2001 From: N00MKRAD Date: Fri, 12 Feb 2021 01:09:48 +0100 Subject: [PATCH] Write log entry if stdout progress regex parse fails --- Code/Main/InterpolateUtils.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Code/Main/InterpolateUtils.cs b/Code/Main/InterpolateUtils.cs index 82f058a..250da51 100644 --- a/Code/Main/InterpolateUtils.cs +++ b/Code/Main/InterpolateUtils.cs @@ -110,7 +110,10 @@ namespace Flowframes.Main if (!frameRegex.IsMatch(output)) return; lastFrame = Math.Max(int.Parse(frameRegex.Match(output).Value), lastFrame); } - catch { } + catch + { + Logger.Log($"UpdateLastFrameFromInterpOutput: Failed to get progress from '{output}' even though Regex matched!"); + } } public static int interpolatedInputFramesCount;