diff --git a/Program.fs b/Program.fs index ba7d1ffac9976d92903c83d4d9f76b18583d41cd..df5cb87d9a601daed27e6d23f438390806b19d24 100644 --- a/Program.fs +++ b/Program.fs @@ -179,7 +179,7 @@ let main argv = let backupTarget = results.GetResult (Target, defaultValue = Environment.GetEnvironmentVariable "TARGET") match backupTarget with | null -> - logger.Error "TARGET is not defined%s" "" + logger.Error "TARGET is not defined" ExitBadParam | _ -> let backupTarget = ToMingwPath backupTarget @@ -210,9 +210,12 @@ let main argv = logger.Info "mbackup exit" proc.ExitCode else - logger.Error "mbackup timed out while waiting for rsync to complete%s" "" + logger.Error "mbackup timed out while waiting for rsync to complete" ExitTimeout with - | _ -> - logger.Error "Create runtime dir failed%s" "" + | :? System.IO.IOException as ex -> + logger.Error "IO Error: %s %s" ex.Source ex.Message + ExitIOError + | ex -> + logger.Error "Unexpected Error: %s" ex.Message ExitIOError diff --git a/operational b/operational index d28b4da809f7faed2deb950f884151447c5bc0f6..eb28c65274b69af32ae3fb95f5992c1990050125 100644 --- a/operational +++ b/operational @@ -85,6 +85,9 @@ C:\ProgramData\mbackup\mbackup.ini * later :entry: ** 2019-11-14 supports expand Downloads dir in user-default.list +** 2019-11-14 vscode f# doesn't support open a module +it can only support open a namespace. +using the vscode Ionide-fsharp extension. * current :entry: ** ** 2019-11-14 support mbackup.ini config.