summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-05-24 16:18:54 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-05-24 16:18:54 +0900
commit145ba241e27494a1d246d8aa4146075918edebcc (patch)
tree01beb5d5cee83d196885ddcf572689c937452364 /src
parentFix (diff)
downloadsharkey-145ba241e27494a1d246d8aa4146075918edebcc.tar.gz
sharkey-145ba241e27494a1d246d8aa4146075918edebcc.tar.bz2
sharkey-145ba241e27494a1d246d8aa4146075918edebcc.zip
Add info to error message
Diffstat (limited to 'src')
-rw-r--r--src/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index fe5c4b9448..b8d9b35f41 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -89,7 +89,7 @@ async function init(): Promise<Config> {
let configLogger = new Logger('Config');
if (!fs.existsSync(configPath)) {
- throw 'Configuration not found';
+ throw 'Configuration not found - Please run "npm run config" command.';
}
const config = loadConfig();