You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I used patch-package to patch @ngx-translate/core@14.0.0 for the project I'm working on.
When there are parsing errors of the translation file, the loading just doesn't happen, and the error message appear anywhere. It is impossible to know the line causing the issue, as well as the details.
I think the use/getTranslation methods should fail the Observable, so that it can be properly caught higher up the stack, but this is a first step to at least have the error somewhere
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@ngx-translate/core@14.0.0
for the project I'm working on.When there are parsing errors of the translation file, the loading just doesn't happen, and the error message appear anywhere. It is impossible to know the line causing the issue, as well as the details.
I think the use/getTranslation methods should fail the Observable, so that it can be properly caught higher up the stack, but this is a first step to at least have the error somewhere
Here is the diff that solved my problem:
The text was updated successfully, but these errors were encountered: