Commit fe68cf51 authored by Yuanle Song's avatar Yuanle Song
Browse files

update some log message.

removed the old logger workaround when no object is used in fmt.
parent 06c2e2fb
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -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
+3 −0
Original line number Diff line number Diff line
@@ -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.