catch CurlTimeoutException

This commit is contained in:
skilion 2017-03-11 12:07:21 +01:00
parent 1beadf2577
commit a3b25c45f5

View file

@ -1,3 +1,4 @@
import std.net.curl: CurlTimeoutException;
import std.exception: ErrnoException;
import std.algorithm, std.datetime, std.file, std.json, std.path, std.regex;
import std.stdio, std.string;
@ -121,6 +122,8 @@ final class SyncEngine
throw new SyncException(e.msg, e);
} catch (FileException e) {
throw new SyncException(e.msg, e);
} catch (CurlTimeoutException e) {
throw new SyncException(e.msg, e);
} catch (OneDriveException e) {
throw new SyncException(e.msg, e);
}