Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27831

Better try-catch around `getProject()`

XMLWordPrintable

      In the case of :

      • src/main/java/hudson/plugins/templateproject/ProxyBuilder.java -> getProjectBuilders()
      • src/main/java/hudson/plugins/templateproject/ProxySCM.java -> getProject()
      • src/main/java/hudson/plugins/templateproject/ProxyPublisher.java -> getProject()

      Need to have proper try-catch, such that outputs proper error message instead of throwing NPE or silent fail (as sometimes happens with Folder plugin).

            Unassigned Unassigned
            brantone Brantone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: