You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2018/06/25 01:53:37 UTC

svn commit: r1834272 - in /tcl/rivet/branches/3.0: ChangeLog rivet/init.tcl.in

Author: mxmanghi
Date: Mon Jun 25 01:53:36 2018
New Revision: 1834272

URL: http://svn.apache.org/viewvc?rev=1834272&view=rev
Log:
    * rivet/init.tcl.it: the error handler of error scripts requires ::Rivet::script to keep the actual 'script' being run


Modified:
    tcl/rivet/branches/3.0/ChangeLog
    tcl/rivet/branches/3.0/rivet/init.tcl.in

Modified: tcl/rivet/branches/3.0/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/3.0/ChangeLog?rev=1834272&r1=1834271&r2=1834272&view=diff
==============================================================================
--- tcl/rivet/branches/3.0/ChangeLog (original)
+++ tcl/rivet/branches/3.0/ChangeLog Mon Jun 25 01:53:36 2018
@@ -1,7 +1,11 @@
+2018-06-25 Massimo Manghi <mx...@apache.org>
+    * rivet/init.tcl.it: the error handler of error scripts requires
+    ::Rivet::script to keep the actual 'script' being run
+ 
 2018-06-14 Massimo Manghi <mx...@apache.org>
     * rivet/init.tcl: fixed bug in error scripts' error handling (the
     case of handling an error that occurs in the default error script may
-    need the introduction of a new test
+    need the introduction of a new test)
 
 2018-04-09 Massimo Manghi <mx...@apache.org>
     * src/mod_rivet_ng/mod_rivet.h: changing argument list of function

Modified: tcl/rivet/branches/3.0/rivet/init.tcl.in
URL: http://svn.apache.org/viewvc/tcl/rivet/branches/3.0/rivet/init.tcl.in?rev=1834272&r1=1834271&r2=1834272&view=diff
==============================================================================
--- tcl/rivet/branches/3.0/rivet/init.tcl.in (original)
+++ tcl/rivet/branches/3.0/rivet/init.tcl.in Mon Jun 25 01:53:36 2018
@@ -201,7 +201,7 @@ proc ::Rivet::finish_request {script err
     }
 
     ::try {
-        set ::Rivet::script $error_script
+        set ::Rivet::script $script
         uplevel #0 $error_script
     } on error {err} {
         ::rivet::apache_log_error err "Rivet ErrorScript failed: $::errorInfo"



---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org