apache / rocketmq-client-cpp

Apache RocketMQ cpp client
https://rocketmq.apache.org/
Apache License 2.0
366 stars 159 forks source link

[ISSUE #303] Catch exception when resolve domain failed #311

Closed ifplusor closed 4 years ago

ifplusor commented 4 years ago

What is the purpose of the change

Avoid crash when resolve domain failed.

Brief changelog

Catch exception when resolve domain failed.

Verifying this change

XXXX

Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

codecov-commenter commented 4 years ago

Codecov Report

Merging #311 into master will not change coverage. The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #311   +/-   ##
=======================================
  Coverage   59.01%   59.01%           
=======================================
  Files         205      205           
  Lines       12985    12985           
=======================================
  Hits         7663     7663           
  Misses       5322     5322           
Impacted Files Coverage Δ
src/transport/TcpTransport.cpp 0.00% <0.00%> (ø)

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 6f52615...c9a63b0. Read the comment docs.