I have a try-catch in which I enumerate files and use async action to run 4 threads, which in turn run same target in which I check file for digital signature and sign it if signature is missing.
Periodically, this logic is breaking but that is not the question here. The problem is that script does not catches the exception, it just stops its run.
This is build script setup
This is log file
As you see, script just exits and nothing handled. Thank you