Commit f0a2fb48 authored by Vadim Vlasov's avatar Vadim Vlasov

appgate_upload fixed

parent 4237dca4
...@@ -23,12 +23,14 @@ module Fastlane ...@@ -23,12 +23,14 @@ module Fastlane
end end
case response.status case response.status
when 200..205 when 200..205
UI.success("Upload complete!") UI.success("Upload complete!")
when 401 when 401
UI.user_error!("Auth Error, provided invalid token") UI.user_error!("Auth Error, provided invalid token")
when 400...407, 409...428, 430...499 when 400...407, 409...428, 430...499
UI.user_error!("Client error: #{response.status}: #{response.body}") UI.user_error!("Client error: #{response.status}: #{response.body}")
else
UI.user_error!("Unexpected error: #{response.status}: #{response.body}")
end end
end end
......
module Fastlane module Fastlane
module Furylion module Furylion
VERSION = "1.1.6" VERSION = "1.1.7"
end end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment