mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Write error to "error_log.txt" if hard sub video file gen fails
This commit is contained in:
parent
5950e37b07
commit
a558706433
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user