mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-11 16:27:14 +03:00
parent
64286f69ed
commit
dbdd79a987
@ -33,7 +33,13 @@ const routes = store => {
|
||||
},
|
||||
r => {
|
||||
if (r.code === 'data_api_error') {
|
||||
alert('Hasura CLI: ' + r.message);
|
||||
if (globals.accessKey) {
|
||||
alert('Hasura CLI: ' + r.message);
|
||||
} else {
|
||||
alert(
|
||||
'Looks like CLI is not configured with the access key. Please configure and try again'
|
||||
);
|
||||
}
|
||||
} else {
|
||||
alert(
|
||||
'Not able to reach the graphql server. Check if hasura console server is running or if graphql server is running and try again'
|
||||
|
Loading…
Reference in New Issue
Block a user