Cleanup deploy error message (#88)
This removes a double print of the API response error message.
This commit is contained in:
		
							parent
							
								
									8fb70ec7f3
								
							
						
					
					
						commit
						6eea8c4577
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -54,7 +54,7 @@ func deploy() error { | |||
| 			log.Printf("Authenticating as %s against %s.", adminUsername, siteURL) | ||||
| 			_, resp := client.Login(adminUsername, adminPassword) | ||||
| 			if resp.Error != nil { | ||||
| 				return errors.Wrapf(resp.Error, "failed to login as %s: %s", adminUsername, resp.Error.Error()) | ||||
| 				return errors.Wrapf(resp.Error, "failed to login as %s", adminUsername) | ||||
| 			} | ||||
| 
 | ||||
| 			return uploadPlugin(client, pluginID, bundlePath) | ||||
|  |  | |||
		Reference in a new issue