We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9222ae6 commit 64fb854Copy full SHA for 64fb854
server.js
@@ -10,5 +10,15 @@ const options = {
10
};
11
12
app(options, () => {
13
- console.info("starting server on port: %d", options.port);
+ console.info("starting server", options.port, options.redis);
14
+ if (!options.port || !options.redis) {
15
+ console.warn(`
16
+ ------------------------
17
+ Missing env file or env vars:
18
+ run this to fix it.
19
+ cp .env.sample .env
20
+ OR add MOCKBIN_PORT and MOCKBIN_REDIS to your env.
21
22
+ `);
23
+ }
24
});
0 commit comments