diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-06-05 17:37:49 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-05 17:37:49 -0700 | 
| commit | c8351109fee2c54be33bd319235ba4b4e8c404d8 (patch) | |
| tree | 37c8a810ab4eaabd563fe737dae2ece7a8cb359b /modules/gallery/helpers/graphics.php | |
| parent | 1d0c1ee87a7ccd254d092054f9be28fadcd74e1d (diff) | |
Add the exception message to the trace string when there's a graphics
failure.
Diffstat (limited to 'modules/gallery/helpers/graphics.php')
| -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;      } | 
