[postprocessor] update 'finalize' events

Add 'finalize-error' and 'finalize-success' events that trigger
depending on whether error(s) did or did not happen.

'finalize' itself now always triggers regardless of error status.
(was supposed to have the same behavior as the new 'finalize-success')
This commit is contained in:
Mike Fährmann
2023-08-10 19:46:37 +02:00
parent af4bdb62a7
commit 0ef1fcab20
5 changed files with 22 additions and 16 deletions

View File

@@ -4512,6 +4512,10 @@ Description
and before the first file download
``finalize``
On extractor shutdown, e.g. after all files were downloaded
``finalize-success``
On extractor shutdown when no error occurred
``finalize-error``
On extractor shutdown when at least one error occurred
``prepare``
Before a file download
``file``