mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-18 12:48:30 +00:00
b10d106a55
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.