Commit 29a24c8b authored by Juan Batiz-Benet's avatar Juan Batiz-Benet Committed by Brian Tiger Chow

this warning should only print out on debug

(perhaps should be logged instead)
parent c5ebe0fb
...@@ -26,7 +26,7 @@ func NewBlockService(d ds.Datastore, rem exchange.Interface) (*BlockService, err ...@@ -26,7 +26,7 @@ func NewBlockService(d ds.Datastore, rem exchange.Interface) (*BlockService, err
return nil, fmt.Errorf("BlockService requires valid datastore") return nil, fmt.Errorf("BlockService requires valid datastore")
} }
if rem == nil { if rem == nil {
u.PErr("Caution: blockservice running in local (offline) mode.\n") u.DErr("Caution: blockservice running in local (offline) mode.\n")
} }
return &BlockService{Datastore: d, Remote: rem}, nil return &BlockService{Datastore: d, Remote: rem}, nil
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment