Skip to content

Commit

Permalink
chore: add changeset for service errror handler
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcdo29 committed Mar 1, 2023
1 parent 110bedc commit 7f54ff8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .changeset/forty-rockets-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'nest-commander': minor
---

Add serviceErrorHandler option

This option allows for catching and handling errors at the Nest service execution level so that
lifecycle hooks still properly work. By default it is set to
`(err: Error) => process.stderr.write(err.toString())`.

0 comments on commit 7f54ff8

Please sign in to comment.