The best practice to show node messages


I would like to know the best practice to print a message on a Zero Touch node which will not halt the operation, to show the operation state. Imagine you are doing an operation with 100 curves. It is successful for 99 of the curves, but fails for one curve, say #23. I want to show a message along the line “this operation was successful for all curves, but failed for curve #23.”

I imagined if there is a way to show a bubble, like how throwing an exception will show the yellow bubble. However, if I understand correctly, this will stop the process.

As an alternative, I was thinking to add an extra output port to print the message, but this may not be very convenient to the user to observe.

Would be glad if to see an implementation in an existing plugin as well.

Many thanks,