Skip to content

Commit

Permalink
chore: 异常信息调整
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiandongx committed Dec 18, 2024
1 parent cbccdf1 commit 6652eca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions beater/beater.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ func (bt *LogBeat) windowsReload() {
checkFunc := func() error {
fileInfo, err := os.Stat(bt.config.WindowsReloadPath)
if err != nil {
if errors.Is(err, os.ErrNotExist) {
return nil
}
return err
}

Expand Down

0 comments on commit 6652eca

Please sign in to comment.