Index: openacs-4/packages/acs-api-browser/www/package-view.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-api-browser/www/package-view.tcl,v diff -u -N -r1.11 -r1.12 --- openacs-4/packages/acs-api-browser/www/package-view.tcl 18 Nov 2017 12:03:06 -0000 1.11 +++ openacs-4/packages/acs-api-browser/www/package-view.tcl 9 Jan 2018 13:33:13 -0000 1.12 @@ -135,7 +135,7 @@ unset doc_elements } # don't stop completely if the page is gone - if { [catch { + ad_try { set full_path "packages/$package_key/$path" array set doc_elements [api_read_script_documentation $full_path] @@ -166,12 +166,16 @@ } else { set content_type directory } - multirow append content_pages $indentation $full_path $content_type $name $type $first_sentence + multirow append content_pages \ + $indentation $full_path $content_type $name $type $first_sentence } set last_components $components - } error] } { - ns_log Error "API Broswer: Package View: $error" - # couldn't read info from the file. it probably doesn't exist. + } on error {errorMsg} } { + # + # Couldn't read info from the file. it probably doesn't exist. + # + ns_log Error "API Broswer: Package View: $errorMsg" + } } }