manifold url can be configured in myslice.ini - instead of in the git repo - so we...
[myslice.git] / manifold / manifoldapi.py
index 3f4bd10..3fa5f97 100644 (file)
@@ -27,7 +27,7 @@ class ManifoldAPI:
         self.trace = []
         self.calls = {}
         self.multicall = False
-        self.url = config.manifold_url
+        self.url = config.manifold_url()
         self.server = xmlrpclib.Server(self.url, verbose=False, allow_none=True)
 
     def __repr__ (self): return "ManifoldAPI[%s]"%self.url
@@ -70,6 +70,7 @@ class ManifoldAPI:
                                                               output="%s answered %s"%(self.url,error)))
                 # otherwise
                 print "** MANIFOLD API ERROR **"
+                print "====> ERROR On ManifoldAPI.%s"%methodName,"auth",self.auth,"args",args,"kwds",kwds
                 import traceback
                 traceback.print_exc()
                 if debug: print "KO (unexpected exception)",error