From a226324e48ef37d3c990fc2f6fb22c573faae6eb Mon Sep 17 00:00:00 2001 From: Joram Date: Wed, 22 Jul 2020 10:39:43 +0200 Subject: [PATCH] Do not log the full request object on invalid onCall invocation --- src/providers/https.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/providers/https.ts b/src/providers/https.ts index cd9f1745d..7c07d2e0d 100644 --- a/src/providers/https.ts +++ b/src/providers/https.ts @@ -420,7 +420,7 @@ export function _onCallWithOptions( const func = async (req: Request, res: express.Response) => { try { if (!isValidRequest(req)) { - console.error('Invalid request', req); + console.error('Invalid request'); throw new HttpsError('invalid-argument', 'Bad Request'); }