Audrius Butkevicius пре 11 година
родитељ
комит
e2dc3e9ff3
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      cmd/syncthing/main.go

+ 2 - 2
cmd/syncthing/main.go

@@ -618,7 +618,7 @@ nextFolder:
 			// doesn't exist, try creating it.
 			// doesn't exist, try creating it.
 			err = os.MkdirAll(folder.Path, 0700)
 			err = os.MkdirAll(folder.Path, 0700)
 			if err != nil {
 			if err != nil {
-				l.Warnf("Stopping folder %q - %v", err)
+				l.Warnf("Stopping folder %q - %v", folder.ID, err)
 				cfg.InvalidateFolder(id, err.Error())
 				cfg.InvalidateFolder(id, err.Error())
 				continue nextFolder
 				continue nextFolder
 			}
 			}
@@ -632,7 +632,7 @@ nextFolder:
 		if err != nil {
 		if err != nil {
 			// If there was another error or we could not create the
 			// If there was another error or we could not create the
 			// path, the folder is invalid.
 			// path, the folder is invalid.
-			l.Warnf("Stopping folder %q - %v", err)
+			l.Warnf("Stopping folder %q - %v", folder.ID, err)
 			cfg.InvalidateFolder(id, err.Error())
 			cfg.InvalidateFolder(id, err.Error())
 			continue nextFolder
 			continue nextFolder
 		}
 		}