Include exception message when failing to download a blog feed
authorMagnus Hagander <magnus@hagander.net>
Tue, 13 Apr 2010 07:50:18 +0000 (09:50 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 Apr 2010 07:50:18 +0000 (09:50 +0200)
hamnadmin/register/views.py

index d5685a99ed442da9c77d3ed76ca66fd45ca685a4..c8ce32218536e9098e318b19234bba1bfece1cda 100644 (file)
@@ -76,7 +76,7 @@ def new(request):
        except pExcept:
                raise
        except Exception, e:
-               raise pExcept('Failed to download blog feed')
+               raise pExcept('Failed to download blog feed: %s' % e)
        if not status == 200:
                raise pExcept('Attempt to download blog feed returned status %s.' % (status))