- Issue created by @IliaNoz
- @ilianoz opened merge request.
- 🇧🇬Bulgaria valthebald Sofia
@IliaNoz: any reason you changed the target version from 1.2.x to 1.1.x?
- 🇧🇪Belgium svendecabooter Gent
Setting back to 1.2.x as the correct branch to target.
I tried reproducing this, as I had earlier experienced weird behavior when I had connection problems to my AI API endpoint.
However, in my testing, I get into \Drupal\ai_translate\Plugin\AiProvider\ChatTranslationProvider::translateText(), and into the GuzzleException catching. This then logs the error, but proceeds to return an empty translated text output.This finally results into database errors trying to save the translation, and the display of the message "There was some issue with content translation.".
So the scenario above might be a separate use case that could be taken into account for improving the error message output.
The error message should be more clear, and a translation should not be attempted to be created I guess?