diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-06 08:37:49 +0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-06 08:39:07 +0800 |
commit | 275c25eb5670e25fad25830cf0c30cd804dce41f (patch) | |
tree | 62888b1eaa11f5252cb75c34021fbb5401e20928 /modules | |
parent | 4fcad78f54873a5ae86a88199015545ece1b8cb4 (diff) |
Add the exception message to the trace string when there's a graphics
failure.
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/helpers/graphics.php | 1 |
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; } |