Resolve Exception on Twig template

Impossible to access an attribute ("username") on a NULL variable ("") in "EoAirbrakeBundle:Extension:notifier.html.twig" at line 28