Project

General

Profile

Actions

Bug #4208

open

[ce, ee] test errors get hidden by error page

Added by Daniel D about 8 years ago. Updated about 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
30.08.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

When running tests the traceback is excepted away by the error handler page, this makes it difficult to debug since eg

app.get('/page_that_errors')

will return a 500 error page instead of a traceback.

OTOH making tests always raise errors will then break the page that checks if the pretty error page is working as it should.

Need to add a dynamic setting, eg settings['use_error_document'] = False - that can be turned on/off at will and will disable the pretty error page handler for running tests.

Actions

Also available in: Atom PDF