From e1319b4f62cd2ff58d974d4b82959c0b06144cb0 Mon Sep 17 00:00:00 2001 From: Tony Rogers Date: Wed, 7 Dec 2022 12:30:28 -0500 Subject: [PATCH] fix: add documentation for log_error_response option --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 2576fe6..8db2bf3 100644 --- a/README.md +++ b/README.md @@ -252,6 +252,14 @@ A custom ingestion endpoint to stream log lines into. List of fields out of `record` object to include in the `meta` object. By default, `args`, `name`, `pathname`, and `lineno` will be included. +##### log_error_response + +* _Optional_ +* Type: [bool][] +* Default: `False` + +Enables logging of the API response when an HTTP error is encountered + ### log(line, [options]) #### line