[REBOL] Re: Newbie error handling question
From: hallvard::ystad::oops-as::no at: 28-Apr-2005 21:34
Kai,
This depends on what you mean by retries...
Here's a quick solution:
foreach url urllist [
either error? error: try [ content: read url ] [
; register which url and schedule for retry
; maybe print mold disarm error to see why 'read
failed?
] [
counter: counter + 1
write to-file append copy "file" counter content
]
]
HY
Dixit Kai Peters <[kpeters--vu-ware--com]> (Thu, 28 Apr 2005
12:06:20 -0700):