Commit 0340864a authored by Gaurav Agrawal's avatar Gaurav Agrawal 🌳 Committed by Alberto Fanjul

Log error on gravatar image retrieve

gravatar is retrieved using http get operation, log error if it fails
parent 79a10fbf
Pipeline #83603 passed with stages
in 9 minutes and 24 seconds
......@@ -73,8 +73,9 @@ public class Gitg.AvatarCache : Object
{
stream = yield Gitg.PlatformSupport.http_get(file, cancellable);
}
catch
catch(Error e)
{
warning("Can not retrieve avatar from %s: %s", file.get_path(), e.message);
return null;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment