Mercurial > libervia-backend
changeset 620:64db6758d223
core: more explicit UnknownEntityError
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 20 Jun 2013 12:11:54 +0200 |
parents | 1de01a2154e2 |
children | 0e16288d6816 |
files | src/memory/memory.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/memory/memory.py Mon Jun 17 13:55:11 2013 +0200 +++ b/src/memory/memory.py Thu Jun 20 12:11:54 2013 +0200 @@ -789,7 +789,7 @@ if not profile in self.entitiesCache: raise exceptions.ProfileNotInCacheError if not entity_jid.userhost() in self.entitiesCache[profile]: - raise exceptions.UnknownEntityError + raise exceptions.UnknownEntityError(entity_jid.userhost()) entity_data = self.entitiesCache[profile][entity_jid.userhost()] if not keys_list: return entity_data