Email you when Symfony2 Exceptions occurs with some information.
| Name | Badge | Name | Badge | 
|---|---|---|---|
| Build | Latest Stable | ||
| Quality Score | ![]()  | 
Latest Unstable | |
| Code Coverage | ![]()  | 
Total Downloads | |
| Insight | ![]()  | 
License | |
| Dependencies | ![]()  | 
Download the Bundle.
composer require "desarrolla2/mail-exception-bundle"Enable the Bundle
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new  Desarrolla2\Bundle\MailExceptionBundle\MailExceptionBundle(),
        );
        // ...
    }
    // ...
}You need put something like this in your config.yml
mail_exception:
    from: '[email protected]'
    to: '[email protected]'
    subject: 'An error has ocurred'
    avoid:
        environments: #this environments will be ignored
        
            - 'dev'
            - 'test'
            
        exceptions: #this exceptions will be ignored
        
            - 'Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException'
            - 'Symfony\Component\HttpKernel\Exception\NotFoundHttpException'
            When a exception occurs you will receive in your mail inbox something like this.
You can contact with me on @desarrolla2.




