fix: reword ctor == null IoC error message

This commit is contained in:
goat 2021-08-24 20:59:24 +02:00
parent b5ccc2751a
commit fd044f9353
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -43,7 +43,7 @@ namespace Dalamud.IoC.Internal
var ctor = this.FindApplicableCtor(objectType, scopedObjects); var ctor = this.FindApplicableCtor(objectType, scopedObjects);
if (ctor == null) if (ctor == null)
{ {
Log.Error("Failed to create {TypeName}, unable to find one or more services to satisfy the dependencies in the ctor", objectType.FullName); Log.Error("Failed to create {TypeName}, an eligible ctor with satisfiable services could not be found", objectType.FullName);
return null; return null;
} }