mirror of
https://github.com/syncthing/syncthing.git
synced 2026-02-05 11:43:37 -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.
14 KiB
14 KiB