def __finishDeferredError(self,error,request):
        log.err(error, "Deferred failed")
        return self.__createErrorResponse(request, 500,"Internal server error")
Finishes any Defered/inlineCallback methods that raised an error. Returns Response
dataset/ETHPy150Open jacek99/corepost/corepost/routing.py/RequestRouter.__finishDeferredError