controller: catch more exception types when fetching avatars