Stop calling glog.Fatal* in a bunch of places
This commit is contained in:
parent
cacdb74e41
commit
1990eba055
7 changed files with 44 additions and 25 deletions
|
|
@ -92,7 +92,10 @@ func newQuadStore(path string, options graph.Options) (graph.QuadStore, error) {
|
|||
}
|
||||
qs.db = db
|
||||
// BoolKey returns false on non-existence. IE, Sync by default.
|
||||
qs.db.NoSync, _ = options.BoolKey("nosync")
|
||||
qs.db.NoSync, _, err = options.BoolKey("nosync")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
err = qs.getMetadata()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue