Menu

#709 If a plugin outFilter errors, nothing is sent

open
nobody
4
2012-12-31
2011-05-13
No

Hello,

I the outFilter method of a plugin raises an exception, no text is sent.
I think the exception should be logged, but the message should be sent, even if it is not processed by the buggy outFilter.

But, some plugins may provide security enhancements, so their outFilter should never be ignored, so I propose to add an attribute to the Plugin class (which defaults to True), called allowIgnoreOutFilterIfError (or something like that).

Regards,
ProgVal

Discussion


Log in to post a comment.

MongoDB Logo MongoDB