Skip to content
Snippets Groups Projects
Unverified Commit ac4e1de4 authored by Pawan Rawal's avatar Pawan Rawal
Browse files

Add filepath with error while initializing store

parent c7718a99
No related branches found
No related tags found
No related merge requests found
......@@ -82,6 +82,6 @@ echo "$checksum /usr/local/share/icudt58l.dat" >> $checksum_file
echo -e "Calculating and storing checksum for tar gzipped assets."
cd $cur_dir
tar -zcf assets.tar.gz -C $GOPATH/src/github.com/dgraph-io/dgraph/dashboard/build .
GZIP=-n tar -zcf assets.tar.gz -C $GOPATH/src/github.com/dgraph-io/dgraph/dashboard/build .
checksum=$($digest_cmd assets.tar.gz | awk '{print $1}')
echo "$checksum /usr/local/share/dgraph/assets.tar.gz" >> $checksum_file
......@@ -69,7 +69,7 @@ func NewSyncStore(filepath string) (*Store, error) {
s.wopt.SetSync(true) // Do synchronous writes.
var err error
s.db, err = rdb.OpenDb(s.opt, filepath)
return s, x.Wrap(err)
return s, x.Wrapf(err, "Directory: %v", filepath)
}
// NewReadOnlyStore constructs a readonly Store object at filepath, given options.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment