Skip to content
Extraits de code Groupes Projets
Valider 68f0e4d5 rédigé par Jeong Arm's avatar Jeong Arm Validation de Eugen Rochko
Parcourir les fichiers

Handle if username is not found on tootctl feeds build (#9040)

parent 8d70d3de
Branches
Étiquettes
Aucune requête de fusion associée trouvée
......@@ -54,6 +54,11 @@ module Mastodon
elsif username.present?
account = Account.find_local(username)
if account.nil?
say("Account #{username} is not found", :red)
exit(1)
end
if options[:background]
RegenerationWorker.perform_async(account.id) unless options[:dry_run]
else
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter