controller: catch more exception types when fetching avatars
This commit is contained in:
parent
5d62a21c02
commit
086044f29e
|
@ -746,8 +746,8 @@ namespace SparkleShare {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (WebException e) {
|
} catch (Exception e) {
|
||||||
SparkleLogger.LogInfo ("Controller", "Error fetching avatar for " + email + ": " + e.Message);
|
SparkleLogger.LogInfo ("Controller", "Error fetching avatar for " + email, e);
|
||||||
skipped_avatars.Add (email);
|
skipped_avatars.Add (email);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in a new issue