Skip to content

Commit 0b5ba14

Browse files
Merge pull request #2313 from micalevisk/patch-1
docs: add hint on abort on error behavior
2 parents e59f687 + 9d31efe commit 0b5ba14

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/first-steps.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ To create a Nest application instance, we use the core `NestFactory` class. `Nes
7272

7373
Note that a project scaffolded with the Nest CLI creates an initial project structure that encourages developers to follow the convention of keeping each module in its own dedicated directory.
7474

75+
> info **Hint** By default, if any error happens while creating the application your app will exit with the code `1`. If you want to make it throw an error instead disable the option `abortOnError` (e.g., `NestFactory.create(AppModule, {{ '{' }} abortOnError: false {{ '}' }})`).
76+
7577
<app-banner-courses></app-banner-courses>
7678

7779
#### Platform

0 commit comments

Comments
 (0)