(bug 41494) Honor $wgLogExceptionBacktrace in APIMain
authorBrad Jorsch <anomie.wikipedia@gmail.com>
Mon, 29 Oct 2012 20:52:44 +0000 (16:52 -0400)
committerBrad Jorsch <anomie.wikipedia@gmail.com>
Mon, 29 Oct 2012 20:52:44 +0000 (16:52 -0400)
commitee6afa8b4e8ec84f220ffeadc105b18b26f8d4dc
tree0a47d820d14e9542cde0fee39e6c4c5a003d19ff
parent9dbca59099f8bed8b33118587f2273a7854b589e
(bug 41494) Honor $wgLogExceptionBacktrace in APIMain

When the API catches a non-API exception, it logs the message but does
not record the backtrace. It should honor $wgLogExceptionBacktrace
(added in 1.20) to decide whether to log the backtrace or just the
message.

Change-Id: I33fcbebd0e41dc2fda0cd00f8779e013300c0494
RELEASE-NOTES-1.21
includes/api/ApiMain.php