diff --git a/src/sync.d b/src/sync.d index 816d68a1..4a01b7a8 100644 --- a/src/sync.d +++ b/src/sync.d @@ -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); }