summaryrefslogtreecommitdiff
path: root/modules/gallery/models/log.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-10-30 15:40:22 -0700
committerBharat Mediratta <bharat@menalto.com>2009-10-30 15:40:22 -0700
commit47c75aa279f1ec140bdd2b5e4c975bee3c0c2055 (patch)
tree0b5ec9bec2fe5848abcf3f712c861cd3ba217507 /modules/gallery/models/log.php
parent294215258a30bb0e99701655ce2b69271446a867 (diff)
Log an alert when we can't load a user.
Diffstat (limited to 'modules/gallery/models/log.php')
-rw-r--r--modules/gallery/models/log.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/models/log.php b/modules/gallery/models/log.php
index 4f6b8c4b..c816a4a7 100644
--- a/modules/gallery/models/log.php
+++ b/modules/gallery/models/log.php
@@ -28,6 +28,7 @@ class Log_Model extends ORM {
try {
return identity::lookup_user($this->user_id);
} catch (Exception $e) {
+ Kohana::log("alert", "Unable to load user with id $this->user_id");
return null;
}
} else {