Write log entry if stdout progress regex parse fails

This commit is contained in:
N00MKRAD
2021-02-12 01:09:48 +01:00
parent 6b76cb3080
commit 0a1e494f98

View File

@@ -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;