Write error to "error_log.txt" if hard sub video file gen fails

This commit is contained in:
niksedk 2021-11-18 20:15:10 +01:00
parent 5950e37b07
commit a558706433

View File

@ -262,6 +262,11 @@ namespace Nikse.SubtitleEdit.Forms
// ignore
}
if (!_abort && !File.Exists(VideoFileName))
{
SeLogger.Error(Environment.NewLine + "Generate hard subbed video failed: " + Environment.NewLine + _log?.ToString());
}
DialogResult = _abort ? DialogResult.Cancel : DialogResult.OK;
}