summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2017-01-03 05:31:08 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2017-01-03 05:31:08 +0900
commitf495891ac314ba37cf20f190a488ec22fb8921a3 (patch)
treed7e5998042f36d6f457f4d4296ca5f6fc3d197e5 /src
parentUpdate README.md (diff)
downloadsharkey-f495891ac314ba37cf20f190a488ec22fb8921a3.tar.gz
sharkey-f495891ac314ba37cf20f190a488ec22fb8921a3.tar.bz2
sharkey-f495891ac314ba37cf20f190a488ec22fb8921a3.zip
:sparkles:
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 d8d03f747f..5ce5f0ecf7 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -160,7 +160,7 @@ async function init(): Promise<InitResult> {
mongoDBLogger.info('Successfully connected');
db.close();
} catch (e) {
- mongoDBLogger.error(`${e}`);
+ mongoDBLogger.error(e);
return InitResult.Failure;
}