Add specific diag msg when abort saveing mkv while parsing orig file

This commit is contained in:
Martchus 2019-12-30 23:53:53 +01:00
parent 40a96c1fd4
commit fb4633ad36
1 changed files with 3 additions and 0 deletions

View File

@ -1468,6 +1468,9 @@ void MatroskaContainer::internalMakeFile(Diagnostics &diag, AbortableProgressFee
}
}
} catch (const OperationAbortedException &) {
diag.emplace_back(DiagLevel::Information, "Applying new tag information has been aborted.", context);
throw;
} catch (const Failure &) {
diag.emplace_back(DiagLevel::Critical, "Parsing the original file failed.", context);
throw;