diff options
author | Xavier Ordoquy <xordoquy@linovia.com> | 2013-09-10 14:51:06 +0200 |
---|---|---|
committer | Xavier Ordoquy <xordoquy@linovia.com> | 2013-09-10 14:51:06 +0200 |
commit | 6128b576d8b850af99a5a9bdf91ce366f3503e83 (patch) | |
tree | 3a24892b1ed2450dea5e4b621782f7771fca63d8 | |
parent | b7da8a6a2ebe9c53703fe16694888f21695e08d2 (diff) | |
download | raven-6128b576d8b850af99a5a9bdf91ce366f3503e83.tar.gz |
Also handle the case were it's no a POST.
-rw-r--r-- | raven/contrib/django/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/raven/contrib/django/client.py b/raven/contrib/django/client.py index b2f9737..acc1495 100644 --- a/raven/contrib/django/client.py +++ b/raven/contrib/django/client.py @@ -81,7 +81,7 @@ class DjangoClient(Client): except Exception: # assume we had a partial read. try: - data = request.POST + data = request.POST or '<unavailable>' except Exception: data = '<unavailable>' else: |