summaryrefslogtreecommitdiff
path: root/modules/notification/helpers/notification_event.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-29 11:22:19 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-29 11:22:19 -0700
commit08d7fda7f8ae68f06dfc063a8cf1acfa1a11eec7 (patch)
tree4ca658f6dadd4704194ad677e2aeab7880eb6cca /modules/notification/helpers/notification_event.php
parent6de10a54ddc4273499848be6508b9fd3c9d2c492 (diff)
parent1527f149a90a46428c48b4b811d4b8ecc10b9d2c (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/notification/helpers/notification_event.php')
-rw-r--r--modules/notification/helpers/notification_event.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/notification/helpers/notification_event.php b/modules/notification/helpers/notification_event.php
index 8fbeda92..c50b04c4 100644
--- a/modules/notification/helpers/notification_event.php
+++ b/modules/notification/helpers/notification_event.php
@@ -26,6 +26,7 @@ class notification_event_Core {
notification::send_item_updated($new);
} catch (Exception $e) {
Kohana::log("error", "@todo notification_event::item_updated() failed");
+ Kohana::Log("error", $e->getMessage() . "\n" . $e->getTraceAsString());
}
}
@@ -34,6 +35,7 @@ class notification_event_Core {
notification::send_item_add($item);
} catch (Exception $e) {
Kohana::log("error", "@todo notification_event::item_created() failed");
+ Kohana::Log("error", $e->getMessage() . "\n" . $e->getTraceAsString());
}
}
@@ -46,6 +48,7 @@ class notification_event_Core {
}
} catch (Exception $e) {
Kohana::log("error", "@todo notification_event::item_deleted() failed");
+ Kohana::Log("error", $e->getMessage() . "\n" . $e->getTraceAsString());
}
}
@@ -56,6 +59,7 @@ class notification_event_Core {
}
} catch (Exception $e) {
Kohana::log("error", "@todo notification_event::comment_created() failed");
+ Kohana::Log("error", $e->getMessage() . "\n" . $e->getTraceAsString());
}
}
@@ -66,6 +70,7 @@ class notification_event_Core {
}
} catch (Exception $e) {
Kohana::log("error", "@todo notification_event::comment_updated() failed");
+ Kohana::Log("error", $e->getMessage() . "\n" . $e->getTraceAsString());
}
}
@@ -76,6 +81,7 @@ class notification_event_Core {
->delete_all();
} catch (Exception $e) {
Kohana::log("error", "@todo notification_event::user_before_delete() failed");
+ Kohana::Log("error", $e->getMessage() . "\n" . $e->getTraceAsString());
}
}
@@ -84,6 +90,7 @@ class notification_event_Core {
notification::send_pending_notifications();
} catch (Exception $e) {
Kohana::log("error", "@todo notification_event::batch_complete() failed");
+ Kohana::Log("error", $e->getMessage() . "\n" . $e->getTraceAsString());
}
}