Hi everyone,
I’m using Traccar and noticed that when the client has no internet connection, the default message “Failed to fetch” appears. I would like to know if there is a place in the code where I can change this message, either to translate it or to customize it.
If possible, could you point me to the specific file or code section where this is handled in the app?
Thank you!
It's the standard fetch API error message. We don't define it anywhere in our code. If you want to customize, you would probably have to override the error somewhere in the code.
Hi everyone,
I’m using Traccar and noticed that when the client has no internet connection, the default message “Failed to fetch” appears. I would like to know if there is a place in the code where I can change this message, either to translate it or to customize it.
If possible, could you point me to the specific file or code section where this is handled in the app?
Thank you!