equal
deleted
inserted
replaced
278 args = (args,) |
278 args = (args,) |
279 try: |
279 try: |
280 args = [simplejson.loads(arg) for arg in args] |
280 args = [simplejson.loads(arg) for arg in args] |
281 except ValueError, exc: |
281 except ValueError, exc: |
282 self.exception('error while decoding json arguments for js_%s: %s', fname, args, exc) |
282 self.exception('error while decoding json arguments for js_%s: %s', fname, args, exc) |
283 raise RemoteCallFailed(repr(exc) |
283 raise RemoteCallFailed(repr(exc)) |
284 try: |
284 try: |
285 result = func(*args) |
285 result = func(*args) |
286 except RemoteCallFailed: |
286 except RemoteCallFailed: |
287 raise |
287 raise |
288 except Exception, ex: |
288 except Exception, ex: |