Put in order · NestJS course · Module 6: Error Handling and Monitoring
Module Configuration Order with Exception Filters
Order the module configuration steps with Exception Filters from creation to startup
Items to put in order
- await app.listen(3000);
- const app = await NestFactory.create(AppModule);
- app.useLogger(app.get(LegionaryLoggerService));
- app.useGlobalFilters(new AllExceptionsFilter());
You can check the correct answer by solving this task in the CodeWorlds game.