From 283c5c2f83831b2853bbb45b1d949b9c60011434 Mon Sep 17 00:00:00 2001 From: Roly Rudy Gutierrez Pinto Date: Fri, 1 Apr 2016 18:24:07 -0400 Subject: [PATCH] HOR-553 --- workflow/engine/classes/class.pmFunctions.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/workflow/engine/classes/class.pmFunctions.php b/workflow/engine/classes/class.pmFunctions.php index 2a4a31eb2..333e08087 100755 --- a/workflow/engine/classes/class.pmFunctions.php +++ b/workflow/engine/classes/class.pmFunctions.php @@ -340,6 +340,11 @@ function executeQuery ($SqlStatement, $DBConnectionUID = 'workflow', $aParameter return $result; } catch (SQLException $sqle) { + if (isset($sqle->xdebug_message)) { + error_log(print_r($sqle->xdebug_message, true)); + } else { + error_log(print_r($sqle, true)); + } $con->rollback(); throw $sqle; }