@@ -69,8 +69,8 @@ |
||
69 | 69 | private function createMessage(ServerRequestInterface $request, Throwable $throwable): ErrorMessage |
70 | 70 | { |
71 | 71 | $message = ErrorMessage::fromException($this->createException($throwable), new Timestamp()) |
72 | - ->withId(Uuid::uuid4()) |
|
73 | - ->inContext($this->createContext($request)); |
|
72 | + ->withId(Uuid::uuid4()) |
|
73 | + ->inContext($this->createContext($request)); |
|
74 | 74 | |
75 | 75 | /** @var OpenTransaction|null $transaction */ |
76 | 76 | $transaction = $request->getAttribute(TransactionMiddleware::TRANSACTION_ATTRIBUTE); |
@@ -114,7 +114,7 @@ |
||
114 | 114 | $this->type |
115 | 115 | ); |
116 | 116 | $transaction = $transaction->withSpan(...$this->spanList) |
117 | - ->inContext($this->context); |
|
117 | + ->inContext($this->context); |
|
118 | 118 | |
119 | 119 | foreach ($this->markList as $group => $eventList) { |
120 | 120 | foreach ($eventList as $event => $timestamp) { |