From e44da74a0fc9f03561bb3ddd4dde95b173f43947 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 16 Nov 2019 23:29:36 -0500 Subject: [PATCH] check --- src/api/Security.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/Security.ts b/src/api/Security.ts index b53787f..8a157a1 100644 --- a/src/api/Security.ts +++ b/src/api/Security.ts @@ -48,7 +48,8 @@ export default class Security { const account = await this.client.db.Account.findOne({ username: json.username }); if (account._id !== saltCheck._id) return null; return account; - } catch { + } catch (error) { + this.client.signale.debug(error); return null; } }