Commit 9f2d1233 authored by Andreas Jung's avatar Andreas Jung

adjusted logging message

parent 464cf350
......@@ -245,7 +245,7 @@ class DTMLFile(Bindings, Explicit, ClassicHTMLFile):
except DTReturn, v: result = v.v
except AttributeError:
if type(sys.exc_value)==InstanceType and sys.exc_value.args[0]=="_v_blocks":
LOG("ZPublisher",WARNING,"DTML file '%s' not found" % self.raw)
LOG("ZPublisher",WARNING,"DTML file '%s' could not be read" % self.raw)
raise "DTML file error","Check logfile for details"
else:
raise
......
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