2.0.0 • Published 8 years ago
mongoose-disable-stack-trace v2.0.0
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 faleij@gmail.com