From fae298069277cd27dc45047fc6505b871a9e9267 Mon Sep 17 00:00:00 2001 From: sarayourfriend Date: Fri, 29 Mar 2024 17:39:15 +1100 Subject: [PATCH] Remove dead code --- src/backend/middlewares/RenderingMWs.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/backend/middlewares/RenderingMWs.ts b/src/backend/middlewares/RenderingMWs.ts index f4022dab..5af9c8ba 100644 --- a/src/backend/middlewares/RenderingMWs.ts +++ b/src/backend/middlewares/RenderingMWs.ts @@ -138,13 +138,6 @@ export class RenderingMWs { const d = err.detailsStr; delete err.detailsStr; console.log(err); - if (err.detailsStr) { - try { - console.log('details:', JSON.stringify(err.detailsStr)); - } catch (_) { - console.log(err.detailsStr); - } - } err.detailsStr = d; delete err.details; // do not send back error object to the client side