public function onException(\Event $event)
 {
     $response = new \Response($event->getTrace(), 500);
     \EventDispatcher::dispatch(KernalEvent::RESPONSE, new HttpEvent(null, $response));
 }