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

[REBOL] try doesn't handle the error??

From: tmoeller:fastmail:fm at: 11-Oct-2010 10:28

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 -- - Send your email first class