Overview
| Artifact ID: | c8bf48b73fcd46fd95139a42558c3df6b6957e79 |
|---|---|
| Ticket: | 734402ffffffffffffffffffffffffffffffffff
catch fails to catch error |
| User & Date: | nobody on 2003-05-08 01:47:32 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
catch [ error "This is an error"] Fails to catch to error in tcl 8.4.2. In tcl 8.3, this correctly caught the error. For this simple case, the obvious fix is: catch { error "This is an error" } However, the difference in behavior affects more complex scripts. -John <[email protected]> - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "16. Commands A-H"
- title changed to: "catch fails to catch error"
- type changed to: "Bug"