I missed an opportunity to set $r->notes('error-notes') if there was an
error at compile-time. This patch includes both run-time and compile-time
patches.

*** Registry.pm Tue Mar 14 23:55:28 2000
--- RegistryTom.pm      Mon Apr 10 17:45:57 2000
***************
*** 127,132 ****
--- 127,133 ----
            compile($eval);
            $r->stash_rgy_endav($script_name);
            if ($@) {
+               $r->notes('error-notes' => $@);
                $r->log_error($@);
                $@{$uri} = $@;
                return SERVER_ERROR unless $Debug && $Debug & 2;
***************
*** 152,157 ****
--- 153,159 ----
        }
  
        if($errsv) {
+           $r->notes('error-notes' => $errsv);
            $r->log_error($errsv);
            return SERVER_ERROR unless $Debug && $Debug & 2;
            return Apache::Debug::dump($r, SERVER_ERROR);

-- 
-- Tom Mornini
-- InfoMania Printing and Prepress

Reply via email to