diff --git a/src/main.d b/src/main.d index 23d4dcee..43c660f5 100644 --- a/src/main.d +++ b/src/main.d @@ -202,7 +202,8 @@ int main(string[] args) online = testNetwork(); } catch (CurlException e) { // No network connection to OneDrive Service - log.error("No network connection to Microsoft OneDrive Service"); + log.error("Cannot connect to Microsoft OneDrive Service"); + log.error("Reason: ", e.msg); if (!cfg.getValueBool("monitor")) { return EXIT_FAILURE; }