From c094d8eed335228bd0d4667a9f7a96681b5ca135 Mon Sep 17 00:00:00 2001 From: boufni95 Date: Wed, 25 Oct 2023 17:26:31 +0200 Subject: [PATCH] up --- src/services/main/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/services/main/index.ts b/src/services/main/index.ts index 8f8be5ce..4fce8375 100644 --- a/src/services/main/index.ts +++ b/src/services/main/index.ts @@ -120,9 +120,12 @@ export default class { triggerSubs(userId: string, op: Types.UserOperation) { const sub = this.paymentSubs[userId] + const log = getLogger({ userId }) if (!sub) { + log("no sub found for user") return } + log("notifyng user of payment") sub(op) }