mirror of
https://github.com/syncthing/syncthing.git
synced 2026-02-06 20:24:04 -05:00
This replaces old style errors.Wrap with modern fmt.Errorf and removes the (direct) dependency on github.com/pkg/errors. A couple of cases are adjusted by hand as previously errors.Wrap(nil, ...) would return nil, which is not what fmt.Errorf does.
3.1 KiB
3.1 KiB