Evan points out that it should only try to upload the crash report every
2 hours so it is not *that* bad.
** Description changed:
parse_and_upload_report will return success = True on a 400 response
- from the server, however if for some reason the report is not mark as
+ from the server, however if for some reason the report is not marked as
handled (mark_handled) then because there is no .uploaded file whoopsie
will continuely try to upload the .crash file.
from src/whoopsie.c:
- } else if (online_state && parse_and_upload_report (crash_file)) {
- if (!mark_handled (crash_file))
- log_msg ("Unable to mark report as seen (%s)\n", crash_file);
+ } else if (online_state && parse_and_upload_report (crash_file)) {
+ if (!mark_handled (crash_file))
+ log_msg ("Unable to mark report as seen (%s)\n", crash_file);
- }
+ }
Given that every crash report is not precious, we should just remove the
crash_file if mark_handled fails.
** Changed in: whoopsie (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1392412
Title:
may constantly try to upload reports when server responds with 400
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1392412/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs