mongoose-disable-stack-trace
v2.0.0
Published
Disables Stack Trace on validation, cast and other error mongoose errors.
Downloads
3
Readme
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
Copyright (c) 2015 Faleij [email protected]