rdbms: make query exceptions include the backtrace when logged
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 13 Mar 2019 16:12:47 +0000 (09:12 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 13 Mar 2019 18:54:46 +0000 (18:54 +0000)
commit5d6141f172815a3793feb713dab7a32a54d1e808
tree571abb87ee128fe487231b5e440c3e65f4e8c5b5
parentc0f24b44487c97c989a3071ffb5c1b1af6ce3d16
rdbms: make query exceptions include the backtrace when logged

Previously, the corresponding Exception channel entry was relied on for
the backtrace, though there might not always be one.

Change-Id: I4a3b0fec0beaec1ebfe71be3850aa353cd37d562
includes/libs/rdbms/database/Database.php