Commit 13ba419 1 parent b4ff274 commit 13ba419 Copy full SHA for 13ba419
File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -309,12 +309,16 @@ function install (client, options) {
309
309
310
310
client . app . upload ( file . contents , xarName )
311
311
. then ( response => {
312
- if ( ! response . success ) { return callback ( new PluginError ( 'gulp-exist' , 'XAR was not uploaded' ) ) }
312
+ if ( ! response . success ) {
313
+ return callback ( new PluginError ( 'gulp-exist' , `XAR was not uploaded: ${ response . error } ` ) )
314
+ }
313
315
log ( `Install ${ xarName } ` )
314
316
return client . app . install ( xarName , customPackageRepoUrl )
315
317
} )
316
318
. then ( response => {
317
- if ( ! response . success ) { return callback ( new PluginError ( 'gulp-exist' , 'XAR Installation failed' ) ) }
319
+ if ( ! response . success ) {
320
+ return callback ( new PluginError ( 'gulp-exist' , `XAR Installation failed: ${ response . error } ` ) )
321
+ }
318
322
if ( response . result . update ) {
319
323
log ( 'Application was updated' )
320
324
return callback ( null , response )
You can’t perform that action at this time.
0 commit comments