From ec0d2e871eef9a7d2d1c91c782acce4270397fdf Mon Sep 17 00:00:00 2001 From: KevinDog24 <56615743+KevinDog24@users.noreply.github.com> Date: Sun, 25 Aug 2024 12:31:38 -0700 Subject: [PATCH] Update app.ts - added `` to a string An error message was missing the `` to indicate its text and that was giving errors when ran via docker, did not cause any errors when running locally. --- src/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.ts b/src/app.ts index a1ec400..04c1f99 100644 --- a/src/app.ts +++ b/src/app.ts @@ -44,7 +44,7 @@ const handleQueue = async (userId) => { try { await processUserMessage(ctx, { flowDynamic, state, provider }); } catch (error) { - console.error(Error processing message for user ${userId}:, error); + console.error(`Error processing message for user ${userId}`:, error); } finally { userLocks.set(userId, false); // Release the lock } @@ -116,4 +116,4 @@ const main = async () => { httpServer(+PORT); }; -main(); \ No newline at end of file +main();