From f0af38e69677d1afe17e48b3f5267128db3db1a4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Jul 2020 14:54:31 +0200 Subject: Fix lint --- scripts/reset-password.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/reset-password.ts') diff --git a/scripts/reset-password.ts b/scripts/reset-password.ts index 863537500..bf6535cea 100755 --- a/scripts/reset-password.ts +++ b/scripts/reset-password.ts @@ -53,3 +53,7 @@ initDatabaseModels(true) .finally(() => process.exit(0)) }) }) + .catch(err => { + console.error(err) + process.exit(-1) + }) -- cgit v1.2.3