git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shorter / more informative debug messages
[unfold.git]
/
manifold
/
manifoldapi.py
diff --git
a/manifold/manifoldapi.py
b/manifold/manifoldapi.py
index
3f4bd10
..
3fa5f97
100644
(file)
--- a/
manifold/manifoldapi.py
+++ b/
manifold/manifoldapi.py
@@
-27,7
+27,7
@@
class ManifoldAPI:
self.trace = []
self.calls = {}
self.multicall = False
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
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 **"
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
import traceback
traceback.print_exc()
if debug: print "KO (unexpected exception)",error