|
Revision 406, 1.0 kB
(checked in by eevee, 10 months ago)
|
|
Database refactoring. Renamed columns and tables to be more consistent and more readable. (#58)
|
| Line | |
|---|
| 1 | [% META title = 'Flagrant Error' %] |
|---|
| 2 | |
|---|
| 3 | <h1>Whoops!</h1> |
|---|
| 4 | |
|---|
| 5 | <p>Something terrible, horrible, no-good, and very bad happened. Probably my fault, not yours.</p> |
|---|
| 6 | |
|---|
| 7 | [% IF insert_error %] |
|---|
| 8 | <p>Unfortunately, even the error logging seems to be broken at the moment, so there is not a lot that can be done. You could try contacting Eevee and telling him what you were trying to do, but the most likely culprit is that the database is broken.</p> |
|---|
| 9 | [% RETURN %] |
|---|
| 10 | [% END -%] |
|---|
| 11 | |
|---|
| 12 | [% USE Dumper %] |
|---|
| 13 | |
|---|
| 14 | <p>The error and what you were doing has been logged, so someone with a wrench can look at it later and figure out what screwed up.</p> |
|---|
| 15 | |
|---|
| 16 | <p>If you are curious, this is what we are logging:</p> |
|---|
| 17 | |
|---|
| 18 | <dl class="hashdump"> |
|---|
| 19 | <dt>time</dd> |
|---|
| 20 | <dd>[% time %]</dd> |
|---|
| 21 | <dt>user_id</dd> |
|---|
| 22 | <dd>[% c.user ? c.user.obj.id : 0 %]</dd> |
|---|
| 23 | <dt>ip</dd> |
|---|
| 24 | <dd>[% c.req.address %]</dd> |
|---|
| 25 | <dt>path</dd> |
|---|
| 26 | <dd>[% c.req.path %]</dd> |
|---|
| 27 | <dt>method</dd> |
|---|
| 28 | <dd>[% c.req.method %]</dd> |
|---|
| 29 | <dt>query</dd> |
|---|
| 30 | <dd>[% Dumper.dump_html(c.req.params).replace(' ', ' ') %]</dd> |
|---|
| 31 | </dl> |
|---|