public function testIgnoresEmptyIds()
 {
     $recorder = new SentryEventRecorder();
     $exception = new \Exception();
     $recorder->addExceptionEventId($exception, '');
     $this->assertEquals(null, $recorder->getEventIdForException($exception));
 }
 protected function duplicateRequest(\Exception $exception, Request $request)
 {
     $request = parent::duplicateRequest($exception, $request);
     if ($request->attributes->has('exception')) {
         $flattenException = $request->attributes->get('exception');
         $this->recorder->addExceptionAlias($exception, $flattenException);
     }
     return $request;
 }