summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/task.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-04 20:34:46 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-04 20:34:46 -0700
commita03b9273b2afc61dfdea43f679e75639238cdcd7 (patch)
treeab48ad5c40ce48afdea1135556d8b0a026a7aa1c /modules/gallery/helpers/task.php
parent1e72860566b80c009d657d6b45cea09986983e6f (diff)
Dump any exceptions into the standard Kohana log as well as the task
log for maximum exposure.
Diffstat (limited to 'modules/gallery/helpers/task.php')
-rw-r--r--modules/gallery/helpers/task.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/helpers/task.php b/modules/gallery/helpers/task.php
index 352fe522..9fa04305 100644
--- a/modules/gallery/helpers/task.php
+++ b/modules/gallery/helpers/task.php
@@ -84,6 +84,7 @@ class task_Core {
}
$task->save();
} catch (Exception $e) {
+ Kohana::log("error", $e->__toString());
$task->log($e->__toString());
$task->state = "error";
$task->done = true;