Ghost/ghost/mw-error-handler
Hannah Wolfe 0ad0cee19b Removed unused jsonErrorRenderer + renamed V2
- As of Ghost 5.0 we only use the V2 version of jsonErrorRenderer
- Removed the old one, and renamed the V2 to not have a suffix any more
- Added 100% coverage to tests whilst here
2022-05-06 15:45:41 +01:00
..
lib Removed unused jsonErrorRenderer + renamed V2 2022-05-06 15:45:41 +01:00
test Removed unused jsonErrorRenderer + renamed V2 2022-05-06 15:45:41 +01:00
.eslintrc.js Add @tryghost/mw-error-handler 2021-12-07 18:40:46 +00:00
index.js Add @tryghost/mw-error-handler 2021-12-07 18:40:46 +00:00
LICENSE 2022 2022-01-06 09:52:35 +00:00
package.json Removed unused jsonErrorRenderer + renamed V2 2022-05-06 15:45:41 +01:00
README.md 2022 2022-01-06 09:52:35 +00:00

Mw Error Handler

Install

npm install @tryghost/mw-error-handler --save

or

yarn add @tryghost/mw-error-handler

Usage

Develop

This is a mono repository, managed with lerna.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.