NestJS - Interceptors
Identify the error in this LoggingInterceptor code snippet:
intercept(context: ExecutionContext, next: CallHandler): void {
console.log('Request started');
next.handle();
console.log('Request ended');
}