Closed Bug 560728 Opened 14 years ago Closed 14 years ago

[k] Send developers email on exception

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jsocol, Assigned: jsocol)

Details

Currently, errors end up with an ugly Apache error page. We should replace that with a pretty 500.html error page. (I also think this might improve the stack traces we get in the error logs.)
It seems like this may need to be done at the Apache level. Among other issues, the 500.html template in Django is stuck as a Django template, meaning it can't extend our nice Jinja templates.

However, it's relatively easy to get Django to send us the real stack trace (not the one that WSGI dumps in the error log, but what failed in the first place).

I'll set some default email addresses in this bug and I'll file an IT request to add the address of interested parties to the settings_local in support-stage-new.
Summary: [k] Add a 500.html error template → [k] Send developers email on exception
http://github.com/jsocol/kitsune/commit/03b9b540b96968dda4bffacb0f6abdee351e9b12

Merged & pushed. Build #37.

Filed bug 560752 to add ADMINS on stage-new.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Verified FIXED; I've seen the traceback emails on sumo-dev.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.