mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-28 20:15:22 +00:00
Report dependency version we failed to load, not the one we require
This commit is contained in:
1 parent
2af7249c6a
commit
a077b6ec9c
2 files changed
+160
-3
No files matched your search
@@ -576,7 +576,7 @@ public class PluginWrapper implements Comparable<PluginWrapper>, ModelObject {
|
||||
if (dependency == null) {
|
||||
PluginWrapper failedDependency = NOTICE.getPlugin(d.shortName);
|
||||
if (failedDependency != null) {
|
||||
dependencyErrors.add(Messages.PluginWrapper_failed_to_load_dependency(failedDependency.getLongName(), d.version));
|
||||
dependencyErrors.add(Messages.PluginWrapper_failed_to_load_dependency(failedDependency.getLongName(), failedDependency.getVersion()));
|
||||
break;
|
||||
} else {
|
||||
dependencyErrors.add(Messages.PluginWrapper_missing(d.shortName, d.version));
|
||||
|
||||
Reference in new issue
Block a user