Implement ContainerAwareInterface and use ContainerAwareTrait
If an exception is thrown before the console is registered, just echo the message
PSR-2