Open
Description
import jsonrpclib
server = jsonrpclib.Server('http://localhost:5003/api')
server.any_function(any_variable=set()) # <-- Should fail, but with a better exception
Produces the following exception which makes it difficult to troubleshoot the cause:
---> 63 module_name = inspect.getmodule(obj).__name__
64 class_name = obj.__class__.__name__
65 json_class = class_name
AttributeError: 'NoneType' object has no attribute '__name__'
Metadata
Metadata
Assignees
Labels
No labels