Generate HttpResponse for unknown exceptions.

        todo: this should be more informative..

def _get_unknown_error_response(self, request, exc):
        """ Generate HttpResponse for unknown exceptions.

        todo: this should be more informative..
        """

        logging.getLogger('devil').error(
            'while doing %s on %s with [%s], devil caught: %s' % (
                request.method, request.path_info, str(request.GET), str(exc)), exc_info=True)

        if settings.DEBUG:
            raise
        else:
            return HttpResponse(status=codes.INTERNAL_SERVER_ERROR[1])