Skip to content

Commit

Permalink
[JENKINS-22811] Fix log message to report more verbose message.
Browse files Browse the repository at this point in the history
(cherry picked from commit da1c74f)
  • Loading branch information
christ66 authored and olivergondza committed Feb 1, 2015
1 parent 758cb5b commit ee309ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/model/AbstractProject.java
Expand Up @@ -755,7 +755,7 @@ protected List<Action> createTransientActions() {
try {
ta.addAll(Util.fixNull(tpaf.createFor(this))); // be defensive against null
} catch (Exception e) {
LOGGER.log(Level.SEVERE, "Error loading transient project action factory.");
LOGGER.log(Level.SEVERE, "Could not load actions from " + tpaf + " for " + this, e);
}
}
return ta;
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/model/Actionable.java
Expand Up @@ -97,7 +97,7 @@ public final List<? extends Action> getAllActions() {
try {
_actions.addAll(createFor(taf));
} catch (Exception e) {
LOGGER.log(Level.SEVERE, "Error loading action.", e);
LOGGER.log(Level.SEVERE, "Could not load actions from " + taf + " for " + this, e);
}
}
}
Expand Down

0 comments on commit ee309ef

Please sign in to comment.