mirror of
https://gitlab.gnome.org/GNOME/gitg
synced 2024-11-05 16:43:26 +00:00
Do not print cancelled errors
This commit is contained in:
parent
14debb7729
commit
d578ad0b25
1 changed files with 5 additions and 1 deletions
|
@ -383,7 +383,11 @@ class Gitg.DiffViewFile : Gtk.Grid
|
|||
}
|
||||
catch (Error e)
|
||||
{
|
||||
stderr.printf(@"ERROR: failed to load $(file.get_path()) for highlighting: $(e.message)\n");
|
||||
if (!cancellable.is_cancelled())
|
||||
{
|
||||
stderr.printf(@"ERROR: failed to load $(file.get_path()) for highlighting: $(e.message)\n");
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue