Better error message

Closes #526
This commit is contained in:
Audrius Butkevicius 2014-08-17 00:03:41 +01:00
parent 60f760ee49
commit 668b429615

View File

@ -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)