added support for a pre report action to allow clients to globally set exception data or anything else