GNOME Bugzilla – Bug 779802
Crash when trying to download sources with no network available
Last modified: 2017-03-10 03:22:54 UTC
Created attachment 347542 [details] [review] Handle the download errors There are two issues here - flatpak plugin tries to open the project [1] even if the GTask returned an error and a public libide function uses g_assert to check preconditions, which abort the application, instead of printing a warning and returning. Also noticed in the meantime the lack of the error handling when downloading the archive fails, so fixed that too. Patches follow.
Created attachment 347543 [details] [review] Do not use g_assert for precondition checks in the public function.
Looks good, thanks!