Clarify error message with details
This commit is contained in:
parent
7487684301
commit
8f02b9249e
|
@ -22,7 +22,9 @@ export function loadConfig(host, configLocation = '/config.js') {
|
|||
return config;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Failed to load config.js from remote server', error);
|
||||
console.error(
|
||||
`Failed to load ${configLocation} from ${host}`,
|
||||
error);
|
||||
|
||||
throw error;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue