if (!error.response||error.response.statusCode!==404){
console.log(`Error while handling the setting of the avatar from a url (${dataURI}) for ${user.username}:`,error);
console.log(`Error while handling the setting of the avatar from a url (${dataURI}) for ${user.username}:`,error);
thrownewMeteor.Error('error-avatar-url-handling',`Error while handling avatar setting from a URL (${dataURI}) for ${user.username}`,{function:'RocketChat.setUserAvatar',url:dataURI,username:user.username});
thrownewMeteor.Error('error-avatar-url-handling',`Error while handling avatar setting from a URL (${dataURI}) for ${user.username}`,{function:'RocketChat.setUserAvatar',url:dataURI,username:user.username});