summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-06 08:37:49 +0800
committerBharat Mediratta <bharat@menalto.com>2009-06-06 08:39:07 +0800
commit275c25eb5670e25fad25830cf0c30cd804dce41f (patch)
tree62888b1eaa11f5252cb75c34021fbb5401e20928
parent4fcad78f54873a5ae86a88199015545ece1b8cb4 (diff)
Add the exception message to the trace string when there's a graphics
failure. Signed-off-by: Bharat Mediratta <bharat@menalto.com>
-rw-r--r--modules/gallery/helpers/graphics.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php
index 175ba947..4846fa8a 100644
--- a/modules/gallery/helpers/graphics.php
+++ b/modules/gallery/helpers/graphics.php
@@ -170,6 +170,7 @@ class graphics_Core {
// Something went wrong rebuilding the image. Leave it dirty and move on.
// @todo we should handle this better.
Kohana::log("error", "Caught exception rebuilding image: {$item->title}\n" .
+ $e->getMessage() . "\n" .
$e->getTraceAsString());
return false;
}