Commit ecc7f564 authored by root's avatar root

Fix errors

parent 4ebc01ec
...@@ -15,7 +15,7 @@ from .enums import MediaType ...@@ -15,7 +15,7 @@ from .enums import MediaType
from twisted.internet import defer from twisted.internet import defer
from twisted.web.http import parse_qs from twisted.web.http import parse_qs
from twisted.python import log from twisted.python import log
import re, copy, exceptions, yaml,json, logging import re, copy, yaml,json, logging
from xml.etree import ElementTree from xml.etree import ElementTree
import uuid import uuid
...@@ -275,7 +275,7 @@ class RequestRouter: ...@@ -275,7 +275,7 @@ class RequestRouter:
response = self.__generateResponse(request, val, request.code) response = self.__generateResponse(request, val, request.code)
except exceptions.TypeError as ex: except TypeError as ex:
log.msg(ex,logLevel=logging.WARN) log.msg(ex,logLevel=logging.WARN)
response = self.__createErrorResponse(request,400,"%s" % ex) response = self.__createErrorResponse(request,400,"%s" % ex)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment