Catch all errors thrown by listeners

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 2.324

      Inspired by JENKINS-17757. hudson.Util should have a convenience method to call a listener method (as a Runnable? for future lambdas) catching any RuntimeException or LinkageError and politely reporting the error so the caller (e.g. SlaveComputer.setChannel) can continue—maybe even blacklisting the listener for future calls so you do not fill up your log, listing the plugin name and version owning the listener class, etc.

            Assignee:
            Jesse Glick
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: