Skip to content

Commit

Permalink
Improve error message when starting w/o synced Iceberg data
Browse files Browse the repository at this point in the history
  • Loading branch information
exAspArk committed Feb 25, 2025
1 parent 2a549ac commit aa791a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

const (
VERSION = "0.34.5"
VERSION = "0.34.6"

ENV_PORT = "BEMIDB_PORT"
ENV_DATABASE = "BEMIDB_DATABASE"
Expand Down
2 changes: 1 addition & 1 deletion src/storage_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (storage *StorageLocal) fileSystemPrefix() string {
func (storage *StorageLocal) nestedDirectories(path string) (dirs []string, err error) {
files, err := os.ReadDir(path)
if err != nil {
return nil, fmt.Errorf("failed to read directory: %v", err)
return nil, fmt.Errorf("failed to read directory: %s.\nPlease make sure to run 'bemidb sync' first", path)
}

for _, file := range files {
Expand Down

0 comments on commit aa791a0

Please sign in to comment.