Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change writeTo failed log level to info #487

Merged
merged 1 commit into from
Oct 19, 2022
Merged

Change writeTo failed log level to info #487

merged 1 commit into from
Oct 19, 2022

Conversation

cnderrauber
Copy link
Member

In #252 decide to ignore the writeTo failed error with a log, application can choose callback and query state for the connection state. But if application keep sending packet during try ice restart to recover from ICEFailed, the warn log is annoying since the error is not critical and no need to process. So change it to info.

Description

When application get ice failed and try negotiation with ice restart to recover from failed state, but keep sending packets during recover, there will be a bunch of use of closed network connection warn log.

Reference issue

#252

In #252 decide to ignore the writeTo failed error with a log,
application can choose callback and query state for the connection
state. But if application keep sending packet during try icerestart
to recover from ICEFailed, the warn log is annoying since the error
is not critical and no need to process. So change it to info.
@codecov
Copy link

codecov bot commented Oct 18, 2022

Codecov Report

Base: 77.83% // Head: 78.02% // Increases project coverage by +0.18% 🎉

Coverage data is based on head (247eb81) compared to base (f7d4014).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #487      +/-   ##
==========================================
+ Coverage   77.83%   78.02%   +0.18%     
==========================================
  Files          36       36              
  Lines        4237     4237              
==========================================
+ Hits         3298     3306       +8     
+ Misses        730      725       -5     
+ Partials      209      206       -3     
Flag Coverage Δ
go 78.02% <100.00%> (+0.18%) ⬆️
wasm 24.59% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
candidate_base.go 87.80% <100.00%> (+3.04%) ⬆️
gather.go 65.98% <0.00%> (-0.37%) ⬇️
agent.go 82.03% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@cnderrauber cnderrauber merged commit 8c1adf1 into master Oct 19, 2022
@cnderrauber cnderrauber deleted the logclose branch October 19, 2022 02:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants