From 96eb3eb7f68918d439b84097511402262a974cc5 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Mon, 8 May 2023 12:10:33 -0500 Subject: [PATCH] Enhance node-resolver for new API --- src/app/node-resolver.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/node-resolver.service.ts b/src/app/node-resolver.service.ts index c5d1e40..cfcac05 100644 --- a/src/app/node-resolver.service.ts +++ b/src/app/node-resolver.service.ts @@ -15,7 +15,7 @@ export class NodeResolverService implements Resolve { resolve(route: ActivatedRouteSnapshot): Observable { console.log('Called getAddr in resolver...', route); return this.fullnode.getAddr().pipe( - catchError(error => { + catchError(() => { return of('No data'); }) );