Skip to content

Commit 00e1955

Browse files
committedMay 20, 2022
Improved error message when BACKEND_URL is missing
1 parent 96a0960 commit 00e1955

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'dotenv/config'
66
/* Want to hardcode your app url? Just modify this variable here */
77
const BACKEND_URL = process.env.BACKEND_URL;
88
if (!BACKEND_URL) {
9-
throw new Error('The BACKEND_URL env variable is not set. Open the `.env` file and set the value. You can find the value in your IHP Backend project settings.');
9+
throw new Error('The BACKEND_URL env variable is not set. Open the `.env` file and set the value. You can find the value in your Thin project settings. See https://thin.dev/docs/troubleshooting#BACKEND_URL if you need help.');
1010
}
1111

1212
const clients = []

0 commit comments

Comments
 (0)