Commit 66fe151a authored by valtron's avatar valtron

don't swallow unknown exceptions in GetCodeForException

parent b21e35e6
......@@ -106,7 +106,7 @@ class Err:
return cls.InvalidUser
if isinstance(exc, error.ContactNotOnline):
return cls.PrincipalNotOnline
return cls.InternalServerError
raise ValueError("Exception not convertible to MSNP error") from exc
class NetworkID:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment