mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 10:05:46 +01:00
Add info to error message
This commit is contained in:
parent
045bae33c4
commit
145ba241e2
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ async function init(): Promise<Config> {
|
||||||
|
|
||||||
let configLogger = new Logger('Config');
|
let configLogger = new Logger('Config');
|
||||||
if (!fs.existsSync(configPath)) {
|
if (!fs.existsSync(configPath)) {
|
||||||
throw 'Configuration not found';
|
throw 'Configuration not found - Please run "npm run config" command.';
|
||||||
}
|
}
|
||||||
|
|
||||||
const config = loadConfig();
|
const config = loadConfig();
|
||||||
|
|
Loading…
Reference in a new issue