etherpad-lite/src/node/hooks
Richard Hansen a261fdf430 i18n: Improve error logging when language JSON read fails
Before it only logged an error like this:

    SyntaxError: Unexpected string in JSON at position XYZ

Now it also logs the filename, making it easier to figure out where
the bad data is:

    failed to read file /path/to/etherpad-lite/src/locales/en.json: SyntaxError: Unexpected string in JSON at position XYZ
2020-09-15 15:32:43 +01:00
..
express webaccess: Factor out common code 2020-09-15 10:44:23 +01:00
express.js express: document the effect of settings.trustProxy 2020-04-14 01:10:19 +02:00
i18n.js i18n: Improve error logging when language JSON read fails 2020-09-15 15:32:43 +01:00