1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 06:45:06 -05:00

* XmlRpcFault is thrown by the client via XML-RPC

@see http://xmlrpc.sourceforge.net/javadoc/redstone/xmlrpc/XmlRpcFault.html
This commit is contained in:
Reinhard Pointner 2014-01-06 20:45:32 +00:00
parent f902b04dee
commit d1a880ba64

View File

@ -597,7 +597,7 @@ public class OpenSubtitlesClient implements SubtitleProvider, VideoHashSubtitleS
Thread.sleep(retryWaitTime); Thread.sleep(retryWaitTime);
} }
return super.invoke(method, arguments); return super.invoke(method, arguments);
} catch (XmlRpcFault | XmlRpcException e) { } catch (XmlRpcException e) {
IOException ioException = ExceptionUtilities.findCause(e, IOException.class); IOException ioException = ExceptionUtilities.findCause(e, IOException.class);
if (ioException == null || i >= 0 && i >= retryCountLimit) { if (ioException == null || i >= 0 && i >= retryCountLimit) {
throw e; throw e;