注释掉加载全局的不完善的自定义错误处理方法

This commit is contained in:
Jeremy Yin 2019-06-19 21:22:36 +08:00
parent 83943ece43
commit 2566b3375e
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import { DemoFilter } from './core/filters/demo.filter'
async function bootstrap() {
const app = await NestFactory.create(AppModule);
app.useGlobalFilters(new DemoFilter());
// app.useGlobalFilters(new DemoFilter());
await app.listen(3000);
}
bootstrap();