mirror of
https://github.com/syncthing/syncthing.git
synced 2026-03-27 10:42:27 -04: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