[REBOL] Trapping errors? - Not like the book says? Re:(2)
From: doug:vos:eds at: 3-Aug-2000 11:18
Thanks!
Just prior to getting your email, I tried putting (error: none)
right after send... in the block. It works also.
So I hope this saves some other soul some frustration.
In fact I can just put: yes, or no, or none - just so that
try
will return some value.
You are correct in pointing out that send returns "no value" at all,
since even returning none, makes the function work.
if error? error: try [send [doug--vos--eds--com] {test} yes ][
log-event/error system/script/header/file "error" (disarm error)
]