diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-16 11:44:21 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-16 11:44:21 -0800 |
commit | b5a6a6a5d5741f592d504b8a444899964101b6b6 (patch) | |
tree | 81e81c20dcacf62b5d7a01fb75e67cf7d15eceb7 /modules/gallery/helpers/gallery_event.php | |
parent | 5a8449f16d3c0db8fb47acf515d319d6eb9e87f4 (diff) |
Oops, log::failure() doesn't exist. Use log::error().
Diffstat (limited to 'modules/gallery/helpers/gallery_event.php')
-rw-r--r-- | modules/gallery/helpers/gallery_event.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php index 9452e855..db3b34fe 100644 --- a/modules/gallery/helpers/gallery_event.php +++ b/modules/gallery/helpers/gallery_event.php @@ -79,7 +79,9 @@ class gallery_event_Core { try { graphics::generate($item); } catch (Exception $e) { - log::failure("Unable to create a thumbnail for item id {$item->id}"); + log::error("graphics", t("Couldn't create a thumbnail or resize for %item_title", + array("item_title" => $item->title)), + html::anchor($item->abs_url(), t("details"))); Kohana_Log::add("error", $e->getMessage() . "\n" . $e->getTraceAsString()); } |