From bb0271e0219768994ea4ec6387225a0514bf3346 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 16 Jun 2020 22:25:20 +0000 Subject: [PATCH] fix(core): update --- ts/typedrequest.classes.typedrouter.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ts/typedrequest.classes.typedrouter.ts b/ts/typedrequest.classes.typedrouter.ts index d40e39c..7c966a7 100644 --- a/ts/typedrequest.classes.typedrouter.ts +++ b/ts/typedrequest.classes.typedrouter.ts @@ -88,13 +88,7 @@ export class TypedRouter { const typedHandler = this.getTypedHandlerForMethod(typedRequestArg.method); if (!typedHandler) { - const availableMethods: string[] = []; - await this.handlerMap.forEach(async handler => { - availableMethods.push(handler.method); - }); console.log(`Cannot find handler for methodname ${typedRequestArg.method}`); - console.log(`Available methods are:`); - console.log(availableMethods); typedRequestArg.error = { text: 'There is no available method for this call on the server side', data: {}