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']}/",
|
url=f"{self.config['libretranslate_url']}/",
|
||||||
data=data,
|
data=data,
|
||||||
)
|
)
|
||||||
|
self._log.debug(
|
||||||
|
"Response: %s",
|
||||||
|
response.raw
|
||||||
|
)
|
||||||
translation = response.json()['translatedText']
|
translation = response.json()['translatedText']
|
||||||
return translation
|
return translation
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue