Skip to content

Commit

Permalink
Make error message actionable
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed May 20, 2020
1 parent 0b12bb4 commit 8361abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/cmd/instance/locker.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (
// ErrAlreadyLocked is returned when a lock on the data path is attempted but
// unsuccessful because another Beat instance already has the lock on the same
// data path.
ErrAlreadyLocked = errors.New("data path already locked by another beat")
ErrAlreadyLocked = errors.New("data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data).")
)

type locker struct {
Expand Down

0 comments on commit 8361abb

Please sign in to comment.