Changeset 17830
- Timestamp:
- 10/01/08 15:05:38 (2 months ago)
- Files:
-
- trunk/midcom/midcom.core/midcom/core/user.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.core/midcom/core/user.php
r17558 r17830 230 230 { 231 231 $this->_storage = new midgard_person(); 232 if (! $this->_storage->get_by_guid($id)) 232 try 233 { 234 $this->_storage->get_by_guid($id); 235 } 236 catch (midgard_error_exception $e) 233 237 { 234 238 debug_push_class(__CLASS__, __FUNCTION__); 235 debug_add("Failed to retrieve the person GUID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO);239 debug_add("Failed to retrieve the person GUID {$id}: " . $e->getMessage(), MIDCOM_LOG_INFO); 236 240 debug_pop(); 237 241 return false;
