Files @ 008e460c5b9d
Branch filter:

Location: kallithea/rhodecode/lib/rcmail/exceptions.py - annotation

Marcin Kuzminski
fixes issue #860.

IMC web commits poisoned caches when they failed. We now
always invalidate caches so objects are refreshed and will be accessible.


class InvalidMessage(RuntimeError):
    """
    Raised if message is missing vital headers, such
    as recipients or sender address.
    """


class BadHeaders(RuntimeError):
    """
    Raised if message contains newlines in headers.
    """