puzzle / puzzle.opnsense

An Ansible Collection to configure an opnsense Firewall
https://puzzle.github.io/puzzle.opnsense/collections/puzzle/opnsense/index.html
GNU General Public License v3.0
23 stars 12 forks source link

Rework exception handling within OPNsenseModuleConfig #132

Closed DonGiovanni83 closed 2 months ago

DonGiovanni83 commented 2 months ago

Currently exceptions raised within an OPNsenseModuleConfig context are 'swallowed' by our current __exit__ implementation. These changes raise the occurring exception properly such that we get a usable stack trace and can identify the error at hand more easily.