equinor / completor

Advanced multi-segmented well completion tool
https://equinor.github.io/completor/
GNU Lesser General Public License v3.0
0 stars 0 forks source link

refactor: Only terminate Completor from main #92

Closed MegaAnda123 closed 2 months ago

MegaAnda123 commented 2 months ago

Description

Change termination behavior to happen from main.

Why

When debugging anything that raises abort the debug session needlessly gets killed by the abort function. Among other reasons to do this.

How

Raise CompletorError instead and catch that in main and recast it as an abort.

Checklist:

Before submitting this PR, please make sure: