A little bit more details in the message
This commit is contained in:
@@ -449,7 +449,7 @@ public class DependencyInjectorGenerator {
|
|||||||
dependency = fields.iterator().next();
|
dependency = fields.iterator().next();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
throw new IllegalArgumentException("Ambiguous dependency: " + errorMessage);
|
throw new IllegalArgumentException("Ambiguous dependency: " + errorMessage + " needed for " + neededFor);
|
||||||
}
|
}
|
||||||
return dependency;
|
return dependency;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user