Jan. 14, 2013
8:54 p.m.
Issue with slice: http://code.google.com/p/pharo/issues/detail?id=7255
Yes, any DNS failure resulted in strange exception handling, IMO. This could indeed improve a couple more bogus situations.
thanks
The following should work after you load the slice:
ZnClient new timeout: 5; url: 'http://an.url.that.does.not.exists.ch/foo'; logToTranscript; downloadTo: FileSystem workingDirectory.
I just tried, seems like your slice improves your example, though I still get issues when changing the number of retries: ZnClient new numberOfRetries: 1; "0 works..." timeout: 5; url: 'http://an.url.that.does.not.exists.ch/foo'; logToTranscript; downloadTo: FileSystem workingDirectory. looks like it is still somewhere in the net resolver... strange