Index: openacs-4/packages/bug-tracker/www/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bug-tracker/www/index.tcl,v diff -u -r1.21 -r1.22 --- openacs-4/packages/bug-tracker/www/index.tcl 8 May 2016 13:06:06 -0000 1.21 +++ openacs-4/packages/bug-tracker/www/index.tcl 14 May 2016 11:10:45 -0000 1.22 @@ -39,7 +39,8 @@ if {[catch { bug_tracker::bug::get_list -user_id $user_id } errorMsg]} { - ns_return 422 text/plain "invalid input: $errorMsg" + ad_page_contract_handle_datasource_error "invalid input: $errorMsg" + ad_script_abort } else { bug_tracker::bug::get_multirow -user_id $user_id }