New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mares-express-error-handler

Package Overview
Dependencies
Maintainers
7
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mares-express-error-handler

mares 프레임워크에서 사용하는 express error handler middleware 입니다.

latest
npmnpm
Version
1.0.6
Version published
Maintainers
7
Created
Source

mares-express-error-handler

mares ddd 구현시 필요한 express error handler

Installation

npm install --save mares-express-error-handler

Examples

mares-welder에서 다음과 같이 적용해줍니다.

const MaresWelder = require('mares-welder')
const maresExpressErrorHandler = require('mares-express-error-handler')
this.mares = new MaresWelder(rootPath)			
this.mares.bindExpressErrorHandler(maresExpressErrorHandler())

ETC

환경변수에 ERROR_LOGABLE=true 로 설정하면 not found 에러를 포함하여 모든 에러를 출력해 줍니다.

Keywords

슬로그업

FAQs

Package last updated on 06 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts