Merge "Use correct module name for stats in executeActionWithErrorHandling()"
This commit is contained in:
commit
61ac2e2d0e
1 changed files with 2 additions and 1 deletions
|
|
@ -471,7 +471,8 @@ class ApiMain extends ApiBase {
|
|||
$this->logRequest( $runTime );
|
||||
if ( $this->mModule->isWriteMode() && $this->getRequest()->wasPosted() ) {
|
||||
$this->getStats()->timing(
|
||||
'api.' . $this->getModuleName() . '.executeTiming', 1000 * $runTime );
|
||||
'api.' . $this->mModule->getModuleName() . '.executeTiming', 1000 * $runTime
|
||||
);
|
||||
}
|
||||
} catch ( Exception $e ) {
|
||||
$this->handleException( $e );
|
||||
|
|
|
|||
Loading…
Reference in a new issue