https://issues.apache.org/bugzilla/show_bug.cgi?id=55004

            Bug ID: 55004
           Summary: AfterEveryScript scripts should not treat abort_page
                    as an error
           Product: Rivet
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rivet Core Commands
          Assignee: rivet-dev@tcl.apache.org
          Reporter: karllehenba...@gmail.com
                CC: mxman...@apache.org
    Classification: Unclassified

Right now if Rivet's configured with an AfterEveryScript and that script does
an abort_page, it is treated as an error and it writes an emergency "<b>Rivet
AfterEveryScript failed!</b>" and logs a traceback.

The check is performed near the end of Rivet_ExecuteAndCheck in mod_rivet.c

Before emitting the message an inquiry of Tcl's errorCode variable (or whatever
C-level mechanism is available) to see if the source of the error is abort_page
and in that case the error message should not be issued.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to