Skip to content

Commit

Permalink
fix request_handled closed when it created (#19)
Browse files Browse the repository at this point in the history
Bug in c730c12
  • Loading branch information
evan361425 authored Oct 5, 2021
1 parent 538aa07 commit 1c69c18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Collectors/RouteCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ public function registerEventListeners(): void
$this->endSegment('route matching');
try {
$this->addSegment('request handled')
->addAnnotation('controller', $this->getController())
->end();
->addAnnotation('controller', $this->getController());
} catch (\Exception $e) {
$this->handleException($e);
}
Expand Down

0 comments on commit 1c69c18

Please sign in to comment.