Skip to content

Commit 7e1ebf0

Browse files
Update templates/cli/lib/commands/generic.js.twig
Co-authored-by: Christy Jacob <[email protected]>
1 parent acd35e7 commit 7e1ebf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/cli/lib/commands/generic.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const client = new Command("client")
7474
if(response.version) {
7575
globalConfig.setEndpoint(endpoint);
7676
} else {
77-
throw new Error();
77+
throw new Error("Invalid endpoint or your Appwrite server is not running as expected.");
7878
}
7979
globalConfig.setEndpoint(endpoint);
8080
} else {

0 commit comments

Comments
 (0)