Skip to content

Commit

Permalink
docs: fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Vispercept authored Mar 11, 2021
1 parent 6529a2b commit fe93237
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions sections/errorhandling/centralizedhandling.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ app.use(async (err, req, res, next) => {

process.on("uncaughtException", error => {
errorHandler.handleError(error);
});
});

process.on("unhandledRejection", (reason) => {
errorHandler.handleError(reason);
});
process.on("unhandledRejection", (reason) => {
errorHandler.handleError(reason);
});
```
</details>

Expand Down Expand Up @@ -72,11 +72,11 @@ await errorHandler.handleError(err, res);

process.on("uncaughtException", (error:Error) => {
errorHandler.handleError(error);
});
});

process.on("unhandledRejection", (reason) => {
errorHandler.handleError(reason);
});
process.on("unhandledRejection", (reason) => {
errorHandler.handleError(reason);
});
```
</details>

Expand Down

0 comments on commit fe93237

Please sign in to comment.