@harnessflex/uh-oh

A simple debugging tool for Harness Flex

Usage no npm install needed!

<script type="module">
  import harnessflexUhOh from 'https://cdn.skypack.dev/@harnessflex/uh-oh';
</script>

README

Uh-oh

Uh-oh is a modified version of youch for Harness Flex and Imba.


Uh-oh!


Install

This package is automatically installed with the Harness Flex Framework.

npm i @harnessflex/uh-oh

Usage

import { Middleware as errorHandler } from '@harnessflex/uh-oh'

express.use errorHandler!

And you're done!

Note: errorHandler must be added at the end of your middleware list.

Credits

A special thanks to the contributors of:

stack-trace

youch

express-youch

See Credits for the complete list.

Security

If you discover any security related issues, please email mjfold76@gmail.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.