-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: include error message in HaystackError telemetry events(#3543)
* Telemetry: add message to all HaystackError(s) * do not send message for DocumentStoreError and API node errors * change default payload from None to {} * add default send_message_in_event to NodeError and type annotations * black Co-authored-by: Julian Risch <julian.risch@deepset.ai>
- Loading branch information
1 parent
3319ef6
commit 005025b
Showing
2 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -294,6 +294,7 @@ class NonPrivateParameters: | |
"uptime", | ||
"run_total", | ||
"run_total_window", | ||
"message", | ||
] | ||
|
||
@classmethod | ||
|