summaryrefslogtreecommitdiff
path: root/src/mailman/rest/tests/test_header_matches.py
diff options
context:
space:
mode:
authorJ08nY2017-06-19 15:04:12 +0200
committerJ08nY2017-06-19 23:42:34 +0200
commitfc0e59c5c33779a1674fe3ddfbcc72d131036c21 (patch)
tree386d7ba9d1476fdb091eba0c619da8ac1abf4518 /src/mailman/rest/tests/test_header_matches.py
parentfbae9955db33b1d271c5e91368ef5cb5bf363bae (diff)
downloadmailman-fc0e59c5c33779a1674fe3ddfbcc72d131036c21.tar.gz
mailman-fc0e59c5c33779a1674fe3ddfbcc72d131036c21.tar.zst
mailman-fc0e59c5c33779a1674fe3ddfbcc72d131036c21.zip
Don't fail when plugins pre_hook or post_hook fails.
- Catches all exceptions raised when running a plugins (pre|post) _hooks. If its pre_hook raises an exception, the plugin is disabled and removed, so its post_hook will not be run and its components will not be loaded. If its post_hook raises an exception we just continue and hope for the best.
Diffstat (limited to 'src/mailman/rest/tests/test_header_matches.py')
0 files changed, 0 insertions, 0 deletions