make doctrine mappings compiler pass exception message more understandable

This commit is contained in:
David Buchmann 2015-08-10 12:05:42 +02:00
parent 7231598b4c
commit 32f92cc37b

View File

@ -231,7 +231,7 @@ abstract class RegisterMappingsPass implements CompilerPassInterface
}
}
throw new ParameterNotFoundException('None of the managerParameters resulted in a valid name');
throw new ParameterNotFoundException('Could not determine the Doctrine manager. Either Doctrine is not configured or a bundle is misconfigured.');
}
/**