Skip to content

Commit c917f52

Browse files
committed
fix transaction naming event
1 parent d1b589d commit c917f52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handlers/BaseHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function () use ($app) {
1616
);
1717

1818
$app->on(
19-
Application::EVENT_AFTER_ACTION,
19+
Application::EVENT_BEFORE_ACTION,
2020
function () use ($app) {
2121
$this->getAgent()->nameTransaction($app->controller->id . '/' . $app->requestedAction->id);
2222
}

0 commit comments

Comments
 (0)