controller: catch more exception types when fetching avatars

This commit is contained in:
Hylke Bons 2013-01-14 17:52:11 +00:00
parent 5d62a21c02
commit 086044f29e

View file

@ -746,8 +746,8 @@ namespace SparkleShare {
return null;
}
} catch (WebException e) {
SparkleLogger.LogInfo ("Controller", "Error fetching avatar for " + email + ": " + e.Message);
} catch (Exception e) {
SparkleLogger.LogInfo ("Controller", "Error fetching avatar for " + email, e);
skipped_avatars.Add (email);
return null;