Skip to content
Tcl Source Code Artifact [44c3143e94]
Login

Artifact [44c3143e94]

Artifact 44c3143e9404bdde89ba3c254dc5182d04daaefc:

Ticket change [44c3143e94] - New ticket [431992ffffffffff|431992ffff] <i>-command doesn&#39;t propagate errors</i>. by mgbacke on 2001-06-11 06:07:17.
D 2001-06-11T06:07:17
J assignee nobody
J cmimetype text/plain
J comment http\s2.3\n\nWhen\susing\sthe\s-command\soption\swith\shttp::geturl,\sany\serrors\sin\sthe\sprocedure\sspecified\sby\sthe\sargument\sto\s-command\sare\scaught\s(via\scatch)\sand\snot\spropagated\sto\sthe\susers\sprogram.\n\nAlthough\snot\scatastrophic,\scatching\suser\sbugs\sbecomes\svery\sdifficult\sbecause\serrors\sare\scaught.\sIf\sthe\sprocedure\sis\sresponsible\sfor\scalling\shttp::geturl,\sthe\sprogram\swill\senter\sthe\sevent\sloop\snever\sto\sreturn.\n\nThe\spertinent\scode\sis\sin\shttp::Finish.\sAny\suser\sprogram\serrors\sare\scaught,\sand\sthe\serror\smessage\sis\ssaved\sin\svariable\serr,\showever,\sit's\snever\sused\s(apparently).\sIt's\snot\sclear\sto\sme\s(not\shaving\swritten\sthis\spackage)\swhy\sthe\sstate(error)\s&\sstate(status)\svariables\sare\sset\swhen\sthe\suser\sprocedure\smight\snever\sbe\scalled\s(if\sthe\sprocedure\sspecified\sby\s-command\sis\sresponsible\sfor\scalling\shttp::geturl).\n\nI\scould\sresearch\sthis\sfurther\sand\sperhaps\soffer\sa\ssolution,\sbut\sit\swould\shopefully\sbe\squicker\sif\sthe\sperson\swho\swrote\sthis\scode\sis\sstill\sinvolved\sin\sits\smaintenance,\sand\scan\soffer\sa\ssolution.
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter mgbacke
J subsystem 29.\shttp\sPackage
J title -command\sdoesn't\spropagate\serrors
J type Bug
K 431992ffffffffffffffffffffffffffffffffff
U mgbacke
Z cf83842dd4ee4d8c85dae40444051f57