Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: timeout error checking

From: jblake:arsenaldigital at: 14-Mar-2007 9:58

Thanks I went with this; foreach ip utilip [ if error? err: try < initial test queryinfo> ] [ err: disarm err either err/id = 'no-connect' [ ] [ result: read join pgsql:<actual queryinfo> The results of the query will either be "true" or "false". Granted, it could connect to the dbase twice if everythings ok. I couldn't figure out how to use 1 query and then test to see if it timed out or test the results. Thanks for the help John