Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wrap call to hook .initialize() method in try/catch
Otherwise errors thrown inside of initialize methods go uncaught. For example, without this, the error thrown in the "cookieParser" default middleware in lib/hooks/http/middleware/defaults.js crashes the cookieParser middleware test (and not in a good way).
- Loading branch information