Error Handling in Python with SUDS

前端 未结 4 1011
误落风尘
误落风尘 2020-12-15 22:21

I have been trying to control a camera through a wsdl file using SUDS. I have got the code working but I want to place error handling into the script. I have tried different

4条回答
  •  醉酒成梦
    2020-12-15 23:21

    I believe you refer to a harmless diagnostic message in your comment. I could suppress messages from suds calling logging.error() by assigning logging.INFO to basicConfig and logging.CRITICAL to suds.client.

    https://fedorahosted.org/suds/wiki/Documentation

提交回复
热议问题