retry logic to unwrap exception to check for illegal state #6971

Merged
merged 1 commit into from Jul 22, 2014
Commits on Jul 22, 2014
  1. @kimchy

    retry logic to unwrap exception to check for illegal state

    kimchy committed Jul 22, 2014
    it probably comes wrapped in a remote exception, which we should unwrap in order to detect it..., also, simplified a bit the retry logic