ascmitc / mhl

ASC Media Hash List
MIT License
58 stars 8 forks source link

Dev/fix113 #117

Closed ptrpfn closed 2 years ago

ptrpfn commented 2 years ago

Adding error log in case the hash of a hashlist/manifest reference doesn't match the created hash of the hashlist/manifest (was an assert before).

ptrpfn commented 2 years ago

It remains to be decided if the tool should abort or continue (in PR #117 it continues), and what the exit code should be. Added this topic to agenda of the the next group meeting as it might imply a larger discussion. For now the PR should improve the situation a lot already, as the error case leads to a logger.error and doesn't assert any more.