summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-05 17:37:49 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-05 17:37:49 -0700
commitc8351109fee2c54be33bd319235ba4b4e8c404d8 (patch)
tree37c8a810ab4eaabd563fe737dae2ece7a8cb359b
parent1d0c1ee87a7ccd254d092054f9be28fadcd74e1d (diff)
Add the exception message to the trace string when there's a graphics
failure.
-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;
}