From 9fe58ba2566d9b0c7edff2c4984eb6c2ae004f8f Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 11 Feb 2016 13:07:59 -0800 Subject: [PATCH] Additional info added to install log when failures happen. --- e107_handlers/xml_class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index 39a89782e..ae4e70d02 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -1186,7 +1186,9 @@ class xmlClass } else { - $ret['failed'][] = $table; + $error = $sql->getLastErrorText(); + $lastQry = $sql->getLastQuery(); + $ret['failed'][] = $table. "\n[".$error."]\n".$lastQry."\n\n"; } } }