Include log id in api error response
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 27 Dec 2014 21:16:29 +0000 (22:16 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 27 Dec 2014 21:34:37 +0000 (21:34 +0000)
commit42a95b7a93e814b159907372ee108e4da0da6aa4
treece3c7d6afdfa0d057f333b234e115a44162fb89c
parent61e23c05780c1371ee54e0c5975fc5e28fab6974
Include log id in api error response

For internal api error it is helpful for reporting when having the log
id under the exception was logged in the exception log.

Also use the redacted trace in the api error response instead of the
normal one to avoid leakage of function values if exception details are shown.

Change-Id: I7d917e532da1b1c7979a6599425f07d2f4f35aed
includes/api/ApiMain.php