Browse Source

日志输出补漏

Signed-off-by: allan716 <[email protected]>
allan716 4 years ago
parent
commit
c9fdfa4d29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/decode.go

+ 1 - 1
common/decode.go

@@ -70,7 +70,7 @@ func GetImdbId(dirPth string) (string ,error) {
 	if movieFilePath != "" {
 		outId, err := getImdbMovieXml(movieFilePath)
 		if err != nil {
-			println(err)
+			GetLogger().Errorln("getImdbMovieXml error, move on:", err)
 		} else {
 			return outId, nil
 		}