mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-15 20:26:53 +02:00
catch CurlTimeoutException
This commit is contained in:
parent
1beadf2577
commit
a3b25c45f5
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue