OpenTermsArchive / engine

Tracks contractual documents and exposes changes to the terms of online services.
https://opentermsarchive.org
European Union Public License 1.2
105 stars 29 forks source link

Enhance error handling to minimize tracking interruptions from plugin errors #1063

Closed Ndpnt closed 3 months ago

Ndpnt commented 3 months ago

This errors handling improvement will significantly reduce tracking process interruptions caused by errors occurring in plugins. However, errors that occur in non awaited asynchronous functions inside the plugin code will not be handled. To have a completely safe environment where plugin errors cannot interrupt the terms tracking process, we could create an improved plugin system where each plugin is executed in its own sub-process.