-
Notifications
You must be signed in to change notification settings - Fork 725
Top level catch all #1430
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
Top level catch all #1430
Conversation
To accept std::strings too and match remaining logging interface.
Needed to read data from const CString objects.
To check no unexpected logging happens.
This comment has been minimized.
This comment has been minimized.
Codecov Report
@@ Coverage Diff @@
## master #1430 +/- ##
==========================================
+ Coverage 73.21% 73.24% +0.02%
==========================================
Files 208 209 +1
Lines 7549 7557 +8
==========================================
+ Hits 5527 5535 +8
Misses 2022 2022
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code is clear and seems to be in the correct place (in a new file). I tested it works well. The tests cover much cases, including the std::runtime_error
, which is the most commonly raised exception.
I'll approve the PR, leaving the comments in the code as suggestions.
Addresses review request.
bors r+ |
macOS build available: multipass-1.2.0-dev.95.pr1430+g59799500.mac-Darwin.pkg |
Build succeeded |
Fixes #1429.
Manual test examples (beyond unit tests):
$ ./bin/multipassd --logger=stderr -V debug # non-admin user, no sudo