NestJS - Interceptors
Identify the error in this LoggingInterceptor code:
intercept(context, next) {
const now = Date.now();
next.handle().pipe(
tap(() => console.log(`Request took ${Date.now() - now}ms`))
);
}