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

Refactor UdpClient to return errors instead of panicking #814

Merged
merged 1 commit into from
May 2, 2024

refactor: [#681] udp return errors instead of panicking

effca56
Select commit
Loading
Failed to load commit list.
Merged

Refactor UdpClient to return errors instead of panicking #814

refactor: [#681] udp return errors instead of panicking
effca56
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded May 2, 2024 in 0s

79.10% of diff hit (target 78.91%)

View this Pull Request on Codecov

79.10% of diff hit (target 78.91%)

Annotations

Check warning on line 61 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L61

Added line #L61 was not covered by tests

Check warning on line 78 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L78

Added line #L78 was not covered by tests

Check warning on line 81 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L81

Added line #L81 was not covered by tests

Check warning on line 87 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L87

Added line #L87 was not covered by tests

Check warning on line 89 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L89

Added line #L89 was not covered by tests

Check warning on line 109 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L109

Added line #L109 was not covered by tests

Check warning on line 112 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L112

Added line #L112 was not covered by tests

Check warning on line 118 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L118

Added line #L118 was not covered by tests

Check warning on line 120 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L120

Added line #L120 was not covered by tests

Check warning on line 128 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L128

Added line #L128 was not covered by tests

Check warning on line 171 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L171

Added line #L171 was not covered by tests

Check warning on line 227 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L227

Added line #L227 was not covered by tests

Check warning on line 234 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L234

Added line #L234 was not covered by tests

Check warning on line 250 in src/shared/bit_torrent/tracker/udp/client.rs

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/shared/bit_torrent/tracker/udp/client.rs#L250

Added line #L250 was not covered by tests