1
0
Эх сурвалжийг харах

Better error message

Closes #526
Audrius Butkevicius 11 жил өмнө
parent
commit
668b429615
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      cmd/syncthing/main.go

+ 1 - 1
cmd/syncthing/main.go

@@ -371,7 +371,7 @@ func main() {
 
 	db, err := leveldb.OpenFile(filepath.Join(confDir, "index"), nil)
 	if err != nil {
-		l.Fatalln("leveldb.OpenFile():", err)
+		l.Fatalln("Cannot open database:", err, "- Is another copy of Syncthing already running?")
 	}
 	m := model.NewModel(confDir, &cfg, myName, "syncthing", Version, db)