Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] catch exceptions for file transport unlinkSync
Using cluster, I sometimes run more than one winston logger on a single instance. Occasionally they both detect that they should remove the log file, and one will unlink before the other. This adds a try...catch to make sure that the unlinkSync call doesn't throw.
- Loading branch information