Fixed bug in error method found by Denis. Thanks\!

This commit is contained in:
Ryan Williams
2009-06-13 14:05:59 -07:00
parent 4fcf0f181d
commit b843b78902

View File

@@ -322,7 +322,7 @@ class Request(object):
self.write(body)
return
try:
produce(body, self)
self.site.adapt(body, self)
except Exception, e:
traceback.print_exc(file=self.log)
if not self.response_written():