FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Pretty-print all exceptions from cli commands by rytilahti · Pull Request #428 · python-kasa/python-kasa · GitHub

Repository navigation

Pretty-print all exceptions from cli commands - #428

Merged
rytilahti merged 1 commit into
python-kasa:masterfrom
rytilahti:fix/cli_exception_handling
Feb 18, 2023
Merged

rytilahti merged 1 commit into
python-kasa:masterfrom
rytilahti:fix/cli_exception_handling

Conversation

Copy link
Copy Markdown
Member

Print out the repr of captured exception instead of full traceback

Fixes #425

Print out the repr of captured exception instead of full traceback
rytilahti added the enhancement New feature or request label Feb 18, 2023

codecov-commenter commented Feb 18, 2023 •
edited
Loading

Copy link
Copy Markdown

Codecov Report

Base: 79.02% // Head: 79.05% // Increases project coverage by +0.03% 🎉

Coverage data is based on head (2b53d8d) compared to base (362c60d).
Patch coverage: 42.85% of modified lines in pull request are covered.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #428      +/-   ##
==========================================
+ Coverage   79.02%   79.05%   +0.03%     
==========================================
  Files          24       25       +1     
  Lines        1821     1843      +22     
  Branches      266      268       +2     
==========================================
+ Hits         1439     1457      +18     
- Misses        348      352       +4     
  Partials       34       34              
Impacted Files Coverage Δ
kasa/cli.py 52.15% <42.85%> (-0.28%) ⬇️
kasa/__init__.py 100.00% <0.00%> (ø)
kasa/smartlightstrip.py 93.02% <0.00%> (+0.52%) ⬆️

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.

rytilahti merged commit 92636fe into python-kasa:master Feb 18, 2023
rytilahti deleted the fix/cli_exception_handling branch February 18, 2023 16:32
pillarsdotnet pushed a commit to pillarsdotnet/python-kasa that referenced this pull request Oct 22, 2026
Print out the repr of captured exception instead of full traceback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

traceback when no devices exist

2 participants


Back | FazBrowse Home | New Git URL