diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-10-30 15:40:22 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-10-30 15:40:22 -0700 |
commit | 47c75aa279f1ec140bdd2b5e4c975bee3c0c2055 (patch) | |
tree | 0b5ec9bec2fe5848abcf3f712c861cd3ba217507 | |
parent | 294215258a30bb0e99701655ce2b69271446a867 (diff) |
Log an alert when we can't load a user.
-rw-r--r-- | modules/gallery/models/log.php | 1 |
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 { |