14813: Updates misleading error message
[arvados-workbench2.git] / src / common / config.ts
index 7363b95d4e70351dd8c29bb6e40327bb2a73063d..496b0b78891b3657d7119abc0116b2ec1780ed91 100644 (file)
@@ -72,7 +72,7 @@ export const fetchConfig = () => {
         })
         .then(workbenchConfig => {
             if (workbenchConfig.API_HOST === undefined) {
-                throw new Error(`Unable to start Workbench. API_HOST is undefined in ${WORKBENCH_CONFIG_URL}.`);
+                throw new Error(`Unable to start Workbench. API_HOST is undefined in ${WORKBENCH_CONFIG_URL} or the environment.`);
             }
             return Axios.get<ClusterConfigJSON>(getClusterConfigURL(workbenchConfig.API_HOST)).then(response => {
                 const config = new Config();