make doctrine mappings compiler pass exception message more understandable
This commit is contained in:
parent
7231598b4c
commit
32f92cc37b
@ -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.');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user