Merge lp:~brian-murray/apport/whoopsie-upload-more into lp:~apport-hackers/apport/trunk
Proposed by
Brian Murray
Status: | Merged |
---|---|
Merged at revision: | 3232 |
Proposed branch: | lp:~brian-murray/apport/whoopsie-upload-more |
Merge into: | lp:~apport-hackers/apport/trunk |
Diff against target: |
101 lines (+26/-8) 3 files modified
apport/report.py (+9/-4) data/whoopsie-upload-all (+8/-4) test/test_report.py (+9/-0) |
To merge this branch: | bzr merge lp:~brian-murray/apport/whoopsie-upload-more |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Andres Klode | Approve | ||
Review via email: mp+365252@code.launchpad.net |
Description of the change
For reasons unknown to me whoopsie-upload-all as it is currently written will quit if the add_gdb_info() call fails. This is different than the behavior in apport/ui.py which will pass on a failure because "we'll get stack traces on retracing". So this change modifies how add_gdb_info exits so that whoopsie-upload-all will proceed with gathering crash information and creating the .upload file. This will in turn end up fixing bug 1820132.
I wonder if there is a better way to do this though so all feedback is welcome!
To post a comment you must log in.
Looks OK, although I'd go with something less string magic.