expressjs / domain-middleware

`uncaughtException` middleware for connect, base on `domain` module.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

allowing a custom shutdown callback

Offirmo opened this issue · comments

This would allow :

  • customizing the shutdown procedure (sending an email, etc.)
  • reusing the callback in other shutdown cases (kill signal received, software shutdown)

I have a PR pending for this.

Note : my fork https://github.com/Offirmo/domain-middleware has this issue solved.