Jake,

log.error("My error message") should cause a bulletin to be posted. If
you have an exception you can pass that in as a second parameter, the
stack trace will be logged (not in the bulletin but in the
logs/nifi-app.log file).


Regards,
Matt

On Tue, Aug 30, 2016 at 9:24 AM, Jake Kugel
<[email protected]> wrote:
> Hello,
>
> I've created a Python script to process flowfiles within an ExecuteScript
> processor following the good example from here:
>
> http://funnifi.blogspot.com/2016/03/executescript-json-to-json-revisited.html
>
> I'm curious if it is possible for my script to post a bulletin to the
> ExecuteScript processor in the event of an error.  Is it possible for a
> script within ExecuteScript to post a bulletin, or are bulletin only
> intended for the nifi framework itself to display errors?
>
> Thank you,
> Jake
>

Reply via email to