From 00e63610b0ab1ba80f40cba2ff5114a626bbb6ee Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Fri, 9 May 2014 10:58:29 +1200 Subject: [PATCH] refs #4706 better error message, might help us to find this issue --- core/DataTable/Row.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/DataTable/Row.php b/core/DataTable/Row.php index 2137da256fa..1c161f318cf 100644 --- a/core/DataTable/Row.php +++ b/core/DataTable/Row.php @@ -578,8 +578,8 @@ protected function sumRowArray($thisColumnValue, $columnToSumValue) } else if ($columnToSumValue === false) { return $thisColumnValue; } else { - throw new Exception("Trying to add two strings values in DataTable\Row::sumRowArray: " - . "'$thisColumnValue' + '$columnToSumValue'"); + throw new Exception("Trying to add two strings in DataTable\Row::sumRowArray: " + . "'$thisColumnValue' + '$columnToSumValue'" . " for row " . $this->__toString()); } }