Add request error state to ApiBase::logRequest
authorBryan Davis <bd808@wikimedia.org>
Thu, 18 Feb 2016 21:18:14 +0000 (14:18 -0700)
committerBryan Davis <bd808@wikimedia.org>
Thu, 18 Feb 2016 22:53:50 +0000 (15:53 -0700)
commit362c220aa1bb831d78f99e209bfa218d49f9c9d2
treebad9265eee546b58b4e692248bdb126bc8bf757d
parentc1d7f2ccc7a3c563ae666d42e885a150ababde56
Add request error state to ApiBase::logRequest

Add a boolean indication of the error status of an API request and
a list of error codes to the log event emitted to the 'ApiRequest' debug
log channel.

Bug: T113672
Change-Id: I694a3000bab0d569dfe41d711f05121b917e6104
includes/api/ApiMain.php