From bd196281ac68115941ee9a38d922104f0c982231 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Thu, 25 Apr 2024 09:47:05 -0700 Subject: [PATCH] Update logging to include stack trace to diagnose plugin errors --- neon_utterance_translator_plugin/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neon_utterance_translator_plugin/__init__.py b/neon_utterance_translator_plugin/__init__.py index 5ca6c72..364f2a8 100644 --- a/neon_utterance_translator_plugin/__init__.py +++ b/neon_utterance_translator_plugin/__init__.py @@ -110,6 +110,6 @@ def transform(self, utterances: List[str], context: Optional[dict] = None) \ }] except Exception as e: - LOG.error(e) + LOG.exception(e) # return translated utterances + data return utterances, {"translation_data": metadata}