From a680ff91209054fdb0c8d9eeab0fdc6bd7b09904 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 31 Jan 2025 01:59:05 -0500 Subject: [PATCH] fix: don't rethrow exception can't catch it there pal! crashes the server --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 4aaffa7..5c31ded 100644 --- a/index.js +++ b/index.js @@ -158,7 +158,6 @@ function bootstrapWebsocketHandler(route) { } catch (e) { const error = e.stack ? `${e}\n\n${e.stack}` : `${e}`; model.createLog(db, route.structure_id, route.id, error, true); - throw e; } } model.updateRoute(db, { ...route, error: null });