From 2876a84bef0b9b26a97d657d22de86d2b6b8a657 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 2 Nov 2010 02:53:02 -0400 Subject: - The presence of the key ``repoze.bfg.message`` in the WSGI environment when an exception occurs is now deprecated. Instead, code which relies on this environ value should use the ``exception`` attribute of the request (e.g. ``request.exception[0]``) to retrieve the message. --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index aee4f64de..478b9c08b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -133,3 +133,8 @@ Backwards Incompatibilities (with BFG 1.3.X) This change was made primarily to support more flexible Mako template rendering. + +- The presence of the key ``repoze.bfg.message`` in the WSGI environment when + an exception occurs is now deprecated. Instead, code which relies on this + environ value should use the ``exception`` attribute of the request + (e.g. ``request.exception[0]``) to retrieve the message. -- cgit v1.2.3