Skip to content

Commit

Permalink
fix(deliver/runner): show file type by platform in error (#21403)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dogdriip committed Oct 7, 2023
1 parent 72c053d commit c08287c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deliver/lib/deliver/runner.rb
Expand Up @@ -231,7 +231,8 @@ def upload_binary

unless result
transporter_errors = transporter.displayable_errors
UI.user_error!("Error uploading ipa file: \n #{transporter_errors}")
file_type = platform == "osx" ? "pkg" : "ipa"
UI.user_error!("Error uploading #{file_type} file: \n #{transporter_errors}")
end
end

Expand Down

0 comments on commit c08287c

Please sign in to comment.