mailpipe: flesh out InvalidMessage attributes before raising exceptions.
authorW. Trevor King <wking@tremily.us>
Sun, 2 Sep 2012 12:35:50 +0000 (08:35 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 2 Sep 2012 12:36:23 +0000 (08:36 -0400)
commita4a7c2691f16e53f276efdf52d9fa88092cd6353
treeea6b60c0fdc437ca82a92172b5cd1508a0ae495a
parent18b5afe3df372c21d7e67a3fc31c20655ce7aa4c
mailpipe: flesh out InvalidMessage attributes before raising exceptions.

This tacks on all the interesting attribute data which the function
that originally raised the exception may not have known about.  We
want this metadata in all cases, not just those where we are
constructing a response message.
pygrader/mailpipe.py