Roundup Tracker - Issues

Issue 1237685

classification
raising "ValueError" in action prints nice msg ...
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed fixed
:
: richard : richard, schlatterbeck
Priority: normal :

Created on 2005-07-13 16:54 by schlatterbeck, last changed 2005-07-13 16:54 by schlatterbeck.

Files
File name Uploaded Description Edit Remove
t.py schlatterbeck, 2005-07-13 16:54 test action demonstrating the behaviour.
Messages
msg1988 Author: [hidden] (schlatterbeck) Date: 2005-07-13 16:54
... while raising Reject doesn't.
See the following test-action. Put into your tracker
extensions directory and then try the following two urls:
http://tracker-path/issue?@action=testaction&exception=reject
http://tracker-path/issue?@action=testaction&exception=valueerror

when raising ValueError, a nice error message is
printed, while for reject a backtrace results.

I think for reject a nice message should be printed, too?

this happens with 0.8.3.
History
Date User Action Args
2005-07-13 16:54:51schlatterbeckcreate