File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1203,6 +1203,7 @@ describe("BundlePusher01", () => {
1203
1203
1204
1204
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
1205
1205
1206
+ expect ( consoleText ) . toContain ( "An attempt to query the remote CICSplex using the cics plug-in has failed." ) ;
1206
1207
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
1207
1208
expect ( sshSpy ) . toHaveBeenCalledTimes ( 1 ) ;
1208
1209
expect ( listSpy ) . toHaveBeenCalledTimes ( 1 ) ;
Original file line number Diff line number Diff line change @@ -657,6 +657,12 @@ export class BundlePusher {
657
657
logger . debug ( diagnosticsError . message ) ;
658
658
}
659
659
}
660
+
661
+ // Something went wrong, suggest a command that can be run to figure out more.
662
+ if ( msgBuffer === "" ) {
663
+ this . issueMessage ( "An attempt to query the remote CICSplex using the cics plug-in has failed." ) ;
664
+ }
665
+
660
666
return msgBuffer ;
661
667
}
662
668
@@ -681,7 +687,7 @@ export class BundlePusher {
681
687
if ( msgBuffer === "" ) {
682
688
msgBuffer += "For further information on the state of your NODEJSAPP resources, consider running the following command:\n\n" +
683
689
"zowe cics get resource CICSNodejsapp --region-name " + this . params . arguments . scope +
684
- " --criteria \"BUNDLE=" + this . params . arguments . name + "\" --cics-plex " + this . params . arguments . cicsplex + "\n" ;
690
+ " --criteria \"BUNDLE=" + this . params . arguments . name + "\" --cics-plex " + this . params . arguments . cicsplex + "\n\n " ;
685
691
}
686
692
687
693
return msgBuffer ;
You can’t perform that action at this time.
0 commit comments