From 27c70036373fa4800edb658f839232bc85041324 Mon Sep 17 00:00:00 2001 From: docktermj Date: Thu, 28 Mar 2024 16:42:48 -0400 Subject: [PATCH] Improve error message --- proposals/SDKs-for-V4/error-messages.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proposals/SDKs-for-V4/error-messages.md b/proposals/SDKs-for-V4/error-messages.md index c024da69..67976b4b 100644 --- a/proposals/SDKs-for-V4/error-messages.md +++ b/proposals/SDKs-for-V4/error-messages.md @@ -13,7 +13,7 @@ - **level:** Semantically defined [levels](#levels) - **id:** A field crafted for unique identification in web searches. For more, see [Senzing Component IDs](https://github.com/senzing-garage/knowledge-base/blob/main/lists/senzing-component-ids.md). - - **text:** The error message generated by the SDK (not the Senzing error message). + - **description:** The error message generated by the SDK (not the Senzing error message). It includes information on where it was called, not just what the error was. - **duration:** (Optional) The time taken, in nanoseconds, by the call to the SDK function/method. - **location:** The caller's location, not the location in the SDK @@ -30,7 +30,7 @@ "time": "2024-02-06T17:02:34.076962445Z", "level": "ERROR", "id": "senzing-60044037", - "text": "g2engine.GetEntityByRecordId(DoesntExist, 1070, -1) failed. Reason: DataSource not found", + "description": "g2engine.GetEntityByRecordId(DoesntExist, 1070, -1) failed. Reason: DataSource not found", "duration": 199045, "location": "In MySampleGetEntityFunction() at mysample.go:2129", "errors": [