Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 12a4c00494117afb7eb1e8c9b339c610f221cc61
Ticket: 1414262fffffffffffffffffffffffffffffffff
Errors in -command script not reported
User & Date: kjnash on 2012-10-30 10:48:53
Changes

  1. icomment:
    Yes, this is probably the worst "gotcha" with http.  If nothing else is done about it, a prominent warning should be added to the man page.
    
    My own workaround is that my -command script has a [catch] of its own, and if an error is detected, it calls the bgerror handler directly.
    
    The Tk bgerror is a modal dialog that uses vwait to enter the event loop.  The reason the authors of the http package avoid raising an error might be that they did not want to use vwait.
    
    P.S. Also reported as bug 2937318.
    
    
    
  2. login: "kjnash"
  3. mimetype: "text/plain"
  4. username: "kjnash"