From 66b5b1a1ac93196bcf7b65bf19a8375a8c91046b Mon Sep 17 00:00:00 2001 From: Subhobrata Dey Date: Wed, 2 Oct 2024 18:45:22 +0000 Subject: [PATCH] remove stacktrace Signed-off-by: Subhobrata Dey --- .../kotlin/org/opensearch/alerting/DocumentLevelMonitorRunner.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/alerting/src/main/kotlin/org/opensearch/alerting/DocumentLevelMonitorRunner.kt b/alerting/src/main/kotlin/org/opensearch/alerting/DocumentLevelMonitorRunner.kt index ce9a92708..b5b2c4f49 100644 --- a/alerting/src/main/kotlin/org/opensearch/alerting/DocumentLevelMonitorRunner.kt +++ b/alerting/src/main/kotlin/org/opensearch/alerting/DocumentLevelMonitorRunner.kt @@ -378,7 +378,6 @@ class DocumentLevelMonitorRunner : MonitorRunner() { // TODO: Update the Document as part of the Trigger and return back the trigger action result return monitorResult.copy(triggerResults = triggerResults, inputResults = inputRunResults) } catch (e: Exception) { - e.printStackTrace() val errorMessage = ExceptionsHelper.detailedMessage(e) monitorCtx.alertService!!.upsertMonitorErrorAlert(monitor, errorMessage, executionId, workflowRunContext) logger.error("Failed running Document-level-monitor ${monitor.name}", e)