fix: don't rethrow exception

can't catch it there pal! crashes the server
This commit is contained in:
Your Name 2025-01-31 01:59:05 -05:00
parent 7e0025cfac
commit a680ff9120

View file

@ -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 });