Index: openacs-4/packages/simulation/www/object-content/index.vuh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/object-content/index.vuh,v diff -u -N -r1.3 -r1.3.2.1 --- openacs-4/packages/simulation/www/object-content/index.vuh 30 Nov 2004 21:30:40 -0000 1.3 +++ openacs-4/packages/simulation/www/object-content/index.vuh 31 Oct 2006 10:13:03 -0000 1.3.2.1 @@ -23,4 +23,8 @@ array set item [bcms::revision::get_revision -revision_id $revision_id] } -cr_write_content -item_id $item(item_id) +with_catch errmsg { + cr_write_content -item_id $item(item_id) +} { + ad_return_exception_template -status 404 "/packages/simulation/www/404" +}