Feature request from spipu, posted on GitHub Feb 28, 2017
I generate the di with the following command :
If a error occurs, it display the reflexion error, but it does not give the name of the class that has the error.
Example: just change the asked type of a parameter of any constructor class to one type that does not exist, and launch the di compilation. You will have that kind of error:
Class Smile\Map\Model\Map\string does not exist
The verbose mode does not help.
A good think could be to change this line:
by this one:
$message = $e->getMessage().' on ['.$className.']';