ubuntu-report-page: Do not block upon sending metrics report.

If the server is down or slow, gnome-initial-setup waits a couple of seconds when clicking “next” in the telemetry page. During this time, the user can only wait or cancel the operation, which doesn’t advance the page.

If a time-out is reached, a dialogue box is raised and only then the page can be advanced.

This merge request changes that. Upon clicking "next", the page advances unconditionally.

Tested scenarios, in which the behavior is as described and no crash was observed:

  • Internet up:
    • Close program before receiving response from server.
    • Close program after receiving response from server. This can be confirmed by waiting (i.e. don't click finish in the last page) and seeing (gnome-initial-setup:29798): InitialSetup-WARNING **: 18:46:10.461: Failed to send report information: ... in stderr.
  • Internet down.

Merge request reports

Loading