**Description** https://github.com/natefinch/lumberjack/blob/4cb27fcfbb0f35cb48c542c5ea80b7c1d18933d0/lumberjack.go#L269 This does not handle ```stat <filepath>: no such file or directory``` error when a file is not present at the location. **Fix** - documentation [here](https://cs.opensource.google/go/go/+/refs/tags/go1.22.5:src/os/error.go;drc=4a0f51696e3b46eb8d9b6c152b2b412bfcad1b7f;l=89) suggests we should use ```errors.Is(err, fs.ErrNotExist)```.
Description
lumberjack/lumberjack.go
Line 269 in 4cb27fc
This does not handle
stat <filepath>: no such file or directoryerror when a file is not present at the location.Fix - documentation here suggests we should use
errors.Is(err, fs.ErrNotExist).