If an error occurs at component level during the stop of a service unit, and if the undeployment is done using the autoloader, no error is loggued. If the undeployment is done using the JMX API, the error is returned.
It's unpleasant and not very clear in a user point of view. In development phase, the user will use a lot the autoloader to deploy/undeploy. In production, the deployment/undeployment is often done using the JMX API. And so, the error will be visible in production only.
So, please add a warning to log the error when using the autoloader.