-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Exception handling #17
Comments
Please, provide a full stack trace. |
Really? Its enough to configure a wrong api key. Simply include the typoscript and add the following constant:
From now on it's impossible to fix this from the backend, you can not open any module with a page-tree. The same happens if your quota is exhausted. A |
So in case you added a wrong api key, you wont be able to fix this without using raw SQL or uninstalling deepl, removing the wrong key, installing it again... So IMO this is pretty severe |
Preferred method to set the API key is via environment. I will check. I think it is already solved in the recent version. |
I need to add different keys for different sites, so i used the constants. |
Is this still happening in the latest version? We're trying the extension with a free key for now. |
When the DeeplTranslationService is constructed it may throw an exception when something is wrong with deepl or the apikey (quota limit for example). In that case an error message should be rendered. In the moment the exception is thrown and the backend is no longer usable.
The text was updated successfully, but these errors were encountered: