enhanced debugging

pull/1/head
Michael Peter Christen 11 years ago
parent b893c42a0f
commit 49886fab08

@ -279,7 +279,7 @@ public class TimeoutRequest<E> {
} } } }
}).call(timeout).longValue(); }).call(timeout).longValue();
} catch (final ExecutionException e) { } catch (final ExecutionException e) {
throw new IOException(e.getMessage()); throw new IOException(file.toString() + ":" + e.getMessage());
} }
} }

@ -348,6 +348,8 @@ public class HostBalancer implements Balancer {
return request; return request;
} catch (ConcurrentModificationException e) { } catch (ConcurrentModificationException e) {
continue tryagain; continue tryagain;
} catch (IOException e) {
throw e;
} catch (Throwable e) { } catch (Throwable e) {
throw new IOException(e.getMessage()); throw new IOException(e.getMessage());
} }

Loading…
Cancel
Save