add debug
This commit is contained in:
parent
c4e7e0e90c
commit
1bc0120066
1 changed files with 4 additions and 0 deletions
|
@ -284,6 +284,10 @@ class MastodonEmailBridge:
|
|||
url=f"{self.config['libretranslate_url']}/",
|
||||
data=data,
|
||||
)
|
||||
self._log.debug(
|
||||
"Response: %s",
|
||||
response.raw
|
||||
)
|
||||
translation = response.json()['translatedText']
|
||||
return translation
|
||||
|
||||
|
|
Loading…
Reference in a new issue