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

Improve error handling when Docker daemon is not running #5

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

amotl
Copy link
Member

@amotl amotl commented Jul 27, 2023

About

@horta reported at GH-4 about long error stacktraces without a specific error message, when the Docker daemon is not running.

Details

While this patch does not truncate the long exception output, at least it adds a more significant error message.

Screenshot

image

@codecov
Copy link

codecov bot commented Jul 27, 2023

Codecov Report

Patch coverage: 66.66% and project coverage change: -1.35% ⚠️

Comparison is base (679bac0) 97.74% compared to head (542ce73) 96.40%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
- Coverage   97.74%   96.40%   -1.35%     
==========================================
  Files           5        5              
  Lines         133      139       +6     
==========================================
+ Hits          130      134       +4     
- Misses          3        5       +2     
Flag Coverage Δ
unittests 96.40% <66.66%> (-1.35%) ⬇️

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

Files Changed Coverage Δ
pytest_mqtt/mosquitto.py 86.84% <66.66%> (-3.79%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amotl amotl merged commit dfb5536 into main Jul 27, 2023
6 of 8 checks passed
@amotl amotl deleted the improve-error-handling branch July 27, 2023 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant