You need to reassign err:
err: disarm err

Thorsten Moeller wrote:
> Hi,
>
> i got a small peace of code to be handled via try functionality:
>
> url: http://localhost:9998
>
> if error? err: try [
>       result: read/custom url [ GET ]                                 
> ][
> disarm err
> print err/id
> ]
>
> This should just print the id of the err object. 
> But, when i have for example a wrong url or a wrong port it doesn't seem
> to get through to the handler block.
>
> It returns: 
> ** Access Error: Cannot connect to localhost
> ** Where: open-proto
> ** Near: result: read/custom url [GET]
>   
>
> What am i doing wrong??
>
> Thorsten
>   

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to