Skip to content

Commit 5217a5a

Browse files
authored
Merge pull request #155 from couchbase-examples/redeploy-info-readme
Logging for Redeploy
2 parents af9ea99 + aab4bbd commit 5217a5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

util/couchbase.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ const CB_CONNECT_STRING = process.env.CB_CONNECT_STRING;
66
const CB_BUCKET = process.env.CB_BUCKET;
77

88
if (!CB_USERNAME) {
9-
throw new Error('Please define the CB_USERNAME environment variable');
9+
throw new Error(
10+
'Please define the CB_USERNAME environment variable. \nIf you are seeing this error after creating a new trial database, please see the instructions in the README for re-deploying your application.'
11+
);
1012
}
1113

1214
if (!CB_PASSWORD) {

0 commit comments

Comments
 (0)