Explorar o código

more debugging info

Jachym Cepicky %!s(int64=13) %!d(string=hai) anos
pai
achega
6a4a2e4222
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      OWS.py

+ 2 - 0
OWS.py

@@ -195,9 +195,11 @@ class OWS:
             # there is 'map' parameter in URL BUT the file does not exist:
             # create
             else:
+                logging.debug("Mapfile not found: creating new mapfile")
                 mapobj = self.makeMap(request.getValueByName("map"))
 
         # mapobj.getLayerByName(request.getValueByName("layers")).metadata.get("wfs_filter")
+        logging.debug("Calling OWSDispatch")
         res = mapobj.OWSDispatch(request)
         if mapscript.MS_DONE == res:
             raise OWSExceptions.NoValidRequest("No valid OWS Request")