{"action":"opened","issue":{"url":"https://api.github.com/repos/Elao/ErrorNotifierBundle/issues/49","labels_url":"https://api.github.com/repos/Elao/ErrorNotifierBundle/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Elao/ErrorNotifierBundle/issues/49/comments","events_url":"https://api.github.com/repos/Elao/ErrorNotifierBundle/issues/49/events","html_url":"https://github.com/Elao/ErrorNotifierBundle/issues/49","id":112333872,"number":49,"title":"Circular reference","user":{"login":"elvis2","id":117609,"avatar_url":"https://avatars.githubusercontent.com/u/117609?v=3","gravatar_id":"","url":"https://api.github.com/users/elvis2","html_url":"https://github.com/elvis2","followers_url":"https://api.github.com/users/elvis2/followers","following_url":"https://api.github.com/users/elvis2/following{/other_user}","gists_url":"https://api.github.com/users/elvis2/gists{/gist_id}","starred_url":"https://api.github.com/users/elvis2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elvis2/subscriptions","organizations_url":"https://api.github.com/users/elvis2/orgs","repos_url":"https://api.github.com/users/elvis2/repos","events_url":"https://api.github.com/users/elvis2/events{/privacy}","received_events_url":"https://api.github.com/users/elvis2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-20T10:16:19Z","updated_at":"2015-10-20T10:16:19Z","closed_at":null,"body":"I added this bundle yesterday. It is only setup for config_prod.yml. When I warmup my cache in prod mode I get the following error:\r\n\r\n$: php app/console ca:w --env=prod --no-debug\r\n\r\n[Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException]\r\nCircular reference detected for service \"templating\", path: \"elao.error_notifier.listener -> templating -> twig\".\r\n\r\nHere is my config for the bundle:\r\n    to: ''\r\n    from: ''\r\n    handle404: true # default :  false\r\n    handleHTTPcodes: ~\r\n    mailer: swiftmailer.mailer.errors\r\n    repeatTimeout: 3600\r\n    handlePHPWarnings: false # catch warnings and email them\r\n    handlePHPErrors: true # catch fatal erros and email them\r\n    handleSilentErrors: false # don't catch error on method with an @\r\n    ignoredClasses: ~\r\n    ignoredPhpErrors: ~\r\n    ignoredIPs: ~\r\n\r\nI am on Symfony 2.6.*.\r\n"}}