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:
parent
f902b04dee
commit
d1a880ba64
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user