Comment 2 for bug 645229

Revision history for this message
Stas Shtin (stas.shtin) wrote :

Sure, we can't store an error message in DB if it was caused by DB failure. But email is probably even less reliable and there's no guarantees that user even had entered his email address in the settings. So we need both.

Perhapse error messages should be sent to server log from logger's error method as well. Maybe it should delete excessive error messages after writing to DB as well, to preven storing lots of useless info in the database.

As for removing i18n from error page - it's not a good idea to do that, because there's practically no chance that this page would fail because of translation tag. At the same time, it would be rather confusing for people who don't speak english. As it's just advice in the book rather than official documentation, there's no need to follow it.