ADTRAN / netconf_client

A NETCONF client for Python 3.8+
https://adtran.github.io/netconf_client/
Other
15 stars 18 forks source link

fix: logging exception for ill-formed NC messages #6

Closed wburkhardt closed 4 years ago

wburkhardt commented 4 years ago

change: Logging exceptions raised by the pretty formatter are caught, and an error message and the plain NC message are logged instead. speed: A little bit more speed improvement (long messages).

codecov-commenter commented 4 years ago

Codecov Report

Merging #6 into master will increase coverage by 0.34%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #6      +/-   ##
==========================================
+ Coverage   81.81%   82.16%   +0.34%     
==========================================
  Files           8        8              
  Lines         550      555       +5     
  Branches       63       63              
==========================================
+ Hits          450      456       +6     
  Misses         78       78              
+ Partials       22       21       -1     
Impacted Files Coverage Δ
netconf_client/ncclient.py 100.00% <100.00%> (ø)
netconf_client/parser.py 97.29% <100.00%> (ø)
netconf_client/rpc.py 85.58% <0.00%> (+0.90%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ac918e3...52fb06b. Read the comment docs.