aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-07-03 09:50:47 -0700
committerchrislu <chris.lu@gmail.com>2024-07-03 09:50:47 -0700
commit8943a572d8c742fd1d095623dc4cda0ea49e026c (patch)
tree50980da544027a9e21530090c77ff8acfb10afd5
parent62c29b2398fcdccfff57d433b14e18e1a249b0ab (diff)
downloadseaweedfs-8943a572d8c742fd1d095623dc4cda0ea49e026c.tar.xz
seaweedfs-8943a572d8c742fd1d095623dc4cda0ea49e026c.zip
log error message
-rw-r--r--weed/command/filer_meta_backup.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/filer_meta_backup.go b/weed/command/filer_meta_backup.go
index 87623cf4e..c47ccbd0c 100644
--- a/weed/command/filer_meta_backup.go
+++ b/weed/command/filer_meta_backup.go
@@ -63,9 +63,9 @@ func runFilerMetaBackup(cmd *Command, args []string) bool {
v.SetConfigFile(*metaBackup.backupFilerConfig)
if err := v.ReadInConfig(); err != nil { // Handle errors reading the config file
- glog.Fatalf("Failed to load %s file.\nPlease use this command to generate the a %s.toml file\n"+
+ glog.Fatalf("Failed to load %s file: %v\nPlease use this command to generate the a %s.toml file\n"+
" weed scaffold -config=%s -output=.\n\n\n",
- *metaBackup.backupFilerConfig, "backup_filer", "filer")
+ *metaBackup.backupFilerConfig, err, "backup_filer", "filer")
}
if err := metaBackup.initStore(v); err != nil {