Skip to content

Commit

Permalink
galaxycache.go: fix error message from load
Browse files Browse the repository at this point in the history
  • Loading branch information
willgreenberg committed Jul 22, 2019
1 parent bf3b858 commit 1a2ed2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galaxycache.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (g *Galaxy) Get(ctx context.Context, key string, dest Codec) error {
destPopulated := false
value, destPopulated, err := g.load(ctx, key, dest)
if err != nil {
span.SetStatus(trace.Status{Code: trace.StatusCodeUnknown, Message: "nil dest sink"})
span.SetStatus(trace.Status{Code: trace.StatusCodeUnknown, Message: "Failed to load key"})
stats.Record(ctx, MLoadErrors.M(1))
return err
}
Expand Down

0 comments on commit 1a2ed2b

Please sign in to comment.