File tree Expand file tree Collapse file tree
packages/apollo/src/commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ export default class ClientCheck extends ClientCommand {
3636 title : "Checking client compatibility with service" ,
3737 task : async ctx => {
3838 if ( ! config . name ) {
39- throw new Error ( "No service found to link to Engine" ) ;
39+ throw new Error (
40+ "Cannot find a service name. Try adding a service name or API key."
41+ ) ;
4042 }
4143 ctx . gitContext = await gitInfo ( this . log ) ;
4244
Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ export default class ServicePush extends ClientCommand {
2121 title : "Pushing client information to Engine" ,
2222 task : async ctx => {
2323 if ( ! config . name ) {
24- throw new Error ( "No service found to link to Engine" ) ;
24+ throw new Error (
25+ "Cannot find a service name. Try adding a service name or API key."
26+ ) ;
2527 }
2628
2729 const operationManifest = getOperationManifestFromProject (
You can’t perform that action at this time.
0 commit comments