caught-object-report-json
Advanced tools
Comparing version
{ | ||
"name": "caught-object-report-json", | ||
"version": "7.1.6", | ||
"version": "7.1.7", | ||
"description": "JS Error JSON representation", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -25,3 +25,3 @@ # Caught Object Report JSON | ||
* [8. Flat array report with Zod error](#8-flat-array-report-with-zod-error) | ||
* [9. Logging uncaught exceptions and rejections with `winston`](#9-logging-uncaught-exceptions-and-rejections-with-winston) | ||
* [9. Winston integration](#9-winston-integration) | ||
* [API](#api) | ||
@@ -690,3 +690,3 @@ * [makeCaughtObjectReportJson(caught)](#makecaughtobjectreportjsoncaught) | ||
# 9. Logging uncaught exceptions and rejections with `winston` | ||
# 9. [Winston integration](https://github.com/dany-fedorov/caught-object-report-json/blob/main/examples/example-9-winston-integration.ts) | ||
@@ -701,3 +701,3 @@ <sub>(Run with `npm run ts-file ./examples/example-9-winston-integration.ts`)</sub> | ||
This method keeps all the processing that is done by `winston` for the error object, but it replaces the `message` prop | ||
on the resulting JSON with an extended report instead of message + stack that `winston` uses by default. | ||
on the resulting JSON with an extended report instead of error message + stack that `winston` uses by default. | ||
@@ -704,0 +704,0 @@ This is the string that `winston` gives by default for this example. |
100222
0.01%