Uninett / zinolib

Python library for zino
Apache License 2.0
1 stars 3 forks source link

Catch BrokenPipeError on socket send #47

Closed hmpf closed 5 months ago

hmpf commented 5 months ago

If we lose connection while sending data to the server, a BrokenPipeError is sent. It was uncaught.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov[bot] commented 5 months ago

Codecov Report

Attention: 8 lines in your changes are missing coverage. Please review.

Comparison is base (d97de03) 71.52% compared to head (4bc82b0) 71.28%. Report is 5 commits behind head on main.

Files Patch % Lines
src/zinolib/controllers/zino1.py 28.57% 5 Missing :warning:
src/zinolib/ritz.py 40.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #47 +/- ## ========================================== - Coverage 71.52% 71.28% -0.24% ========================================== Files 13 13 Lines 1366 1372 +6 ========================================== + Hits 977 978 +1 - Misses 389 394 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

github-actions[bot] commented 5 months ago

Test results

    3 files      3 suites   41s :stopwatch:   63 tests   63 :heavy_check_mark: 0 :zzz: 0 :x: 189 runs  189 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit 4bc82b0b.