Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 520d29f38767a52a01496169498e8da38ff3ebbe
Ticket: 1414262fffffffffffffffffffffffffffffffff
Errors in -command script not reported
User & Date: anonymous on 2014-03-24 22:20:11
Changes

  1. assignee changed to: "aku"
  2. closer changed to: "nobody"
  3. comment changed to:
    If any kind of error occurs in the script passed as a parameter to -
    command, it just vanishes and is not passed to bgerror or to anything 
    else. All kinds of errors are caught, including syntax errors, making 
    debugging a chore at best and resulting in "why did nothing happen?" 
    ponderings.
    
    A minimal script is attached that demonstrates this.
    
  4. icomment:
    -command is a callback; any error that occurs in it belongs to the user, and should be bubbled up to the top so that it can get caught and *fixed*.  That's standard behavior; I don't see why http is special.
    
  5. login: "anonymous"
  6. mimetype: "text/plain"
  7. severity changed to: "Minor"
  8. username: "whd"