Skip to content

Commit

Permalink
Update logging to include stack trace to diagnose plugin errors
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Apr 25, 2024
1 parent ce027e8 commit bd19628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neon_utterance_translator_plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit bd19628

Please sign in to comment.