# Retry does not work

**URL:** <https://rubytalk.org/t/retry-does-not-work/8959>\
**Category:** ruby-talk\
**Created:** [20 November 2003 10:51 UTC](https://rubytalk.org/t/retry-does-not-work/8959 "2003-11-20T10:51:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![T\_Onoma](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@T\_Onoma](https://rubytalk.org/u/T_Onoma)\
**Post date:** [20 November 2003 10:51 UTC](https://rubytalk.org/t/retry-does-not-work/8959/1 "2003-11-20T10:51:08Z")

</div>

Hi matz,

thanks for reposting, someone should really fix that bug on ruby garden.

so Guy gave me same answer. i have problem with it. could you look at those and let me know? ( you probably already are 🙂

-t0

---

<div class="post-metadata">

**Author:** ![Yukihiro\_Matsumoto2](https://avatars.discourse-cdn.com/v4/letter/y/b9e5f3/32.png) [@Yukihiro\_Matsumoto2](https://rubytalk.org/u/Yukihiro_Matsumoto2)\
**Post date:** [20 November 2003 11:18 UTC](https://rubytalk.org/t/retry-does-not-work/8959/2 "2003-11-20T11:18:48Z")

</div>

Hi,

> so Guy gave me same answer. i have problem with it. could you look at those and let me know? ( you probably already are 🙂

I’m sorry; which is your problem? [ruby-talk:85791]?

In message [ruby-talk:85791], you wrote:

> were taking about seperation of concerns --that’s not bad design. i  
> have a library i use for downloading files. i have a user interface  
> script that uses the library. things happen in the library and if the  
> user has set verbose more i should be able to report them to the user  
> _without_ having to write special esoteric message passing code.

“resume” won’t work well unless both your code and the user code know  
each other (the user code must care that raise might resume; your code  
must know how to fix up the exception cause). In that case, I think  
you can make “retry” work, otherwise you can’t make them work well  
anyway.

```
						matz.

```

> **···**
>
> In message “Re: retry does not work” on 03/11/20, “T. Onoma” [transami@runbox.com](mailto:transami@runbox.com) writes:
