docs: fix indentation

This commit is contained in:
Thomas König
2021-03-11 08:44:49 +01:00
committed by GitHub
parent 6529a2b9b4
commit fe93237158

View File

@ -35,11 +35,11 @@ app.use(async (err, req, res, next) => {
process.on("uncaughtException", error => { process.on("uncaughtException", error => {
errorHandler.handleError(error); errorHandler.handleError(error);
}); });
process.on("unhandledRejection", (reason) => { process.on("unhandledRejection", (reason) => {
errorHandler.handleError(reason); errorHandler.handleError(reason);
}); });
``` ```
</details> </details>
@ -72,11 +72,11 @@ await errorHandler.handleError(err, res);
process.on("uncaughtException", (error:Error) => { process.on("uncaughtException", (error:Error) => {
errorHandler.handleError(error); errorHandler.handleError(error);
}); });
process.on("unhandledRejection", (reason) => { process.on("unhandledRejection", (reason) => {
errorHandler.handleError(reason); errorHandler.handleError(reason);
}); });
``` ```
</details> </details>