Commits

Matthew Schinckel committed bc767d9

Log more details on NoContentMixin error.

Comments (0)

Files changed (1)

         )
         super(NoContentMixin, self).__init__(*args, **kwargs)
         if hasattr(self, '_container') and self._container:
-            logger.warning(err_msg)
+            logger.warning(err_msg, exc_info=True, extra={
+                'request': self.request,
+                'data': {
+                },
+                'stack': True,
+            })
         self._container = []