@@ -0,0 +1,17 @@
+{
+ // Use IntelliSense to learn about possible attributes.
+ // Hover to view descriptions of existing attributes.
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "Launch",
+ "type": "go",
+ "request": "launch",
+ "mode": "auto",
+ "program": "${fileDirname}",
+ "env": {},
+ "args": ["e:\\temp\\Backup"]
+ }
+ ]
+}
@@ -131,7 +131,7 @@ func loadHashfile(filename string) Fdhashes {
data := Fdhashes{}
err = json.Unmarshal([]byte(file), &data)
if err != nil {
- panic(err)
+ log.Fatalf("can't read file %s", filename)
}
return data