mongoose-disable-stack-trace

2.0.0 • Public • Published

mongoose disable stack trace

Disables stack trace on Validation, Cast and Version errors in mongoose to prevent accidentally sending stack traces to consumers.

Installation

$ npm install mongoose-disable-stack-trace

Usage

It is highly recommended to import this library after all model declarations.

require('mongoose-disable-stack-trace')();

License

MIT

Copyright (c) 2015 Faleij faleij@gmail.com

Package Sidebar

Install

npm i mongoose-disable-stack-trace

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • faleij