Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-10166] Exception thrown during Persona finder on old f…
…ormat.
  • Loading branch information
ssogabe committed Feb 25, 2012
1 parent ccffcfb commit 2bce6a9
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -66,6 +66,8 @@ public <T> Collection<ExtensionComponent<T>> find(Class<T> type, Hudson hudson)
xml.getParent().toURI().toURL(),
xml.getParent().getRemote().substring(baseDir.getRemote().length()+1).replace('\\','/'),r);
}
} catch (RuntimeException e) {
LOGGER.log(Level.SEVERE, "Failed to load personas",e);
} catch (IOException e) {
LOGGER.log(Level.SEVERE, "Failed to load personas",e);
} catch (InterruptedException e) {
Expand Down Expand Up @@ -93,6 +95,8 @@ public <T> Collection<ExtensionComponent<T>> find(Class<T> type, Hudson hudson)
xml.getParent().toURI().toURL(),
"plugin/" + pw.getShortName() + "/" + xml.getParent().getRemote().substring(baseDir.getRemote().length() + 1), r);
}
} catch (RuntimeException e) {
continue; // FilePath#list throws BuildException
} catch (IOException e) {
continue; // no such file
} catch (InterruptedException e) {
Expand Down

0 comments on commit 2bce6a9

Please sign in to comment.