diff options
-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 { |