diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2023-04-17 10:34:44 +0200 |
|---|---|---|
| committer | Jeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com> | 2023-04-18 14:05:19 +0200 |
| commit | 75a677f58f81802a84dd48a824272ddb606e68bb (patch) | |
| tree | 35860b6193fc5ca011eb5e389c10a121f699dd6f | |
| parent | 537a09d4334f1555b80d87b7d935328963a21739 (diff) | |
Server Custom: Fix invalid wrap erorr
| -rw-r--r-- | internal/server/custom.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/custom.go b/internal/server/custom.go index 0d78308..6171e24 100644 --- a/internal/server/custom.go +++ b/internal/server/custom.go @@ -11,7 +11,7 @@ func (ss *Servers) SetCustomServer(server Server) error { } if b.Type != "custom_server" { - return errors.WrapPrefix(err, "not a custom server", 0) + return errors.New("not a custom server") } if _, ok := ss.CustomServers.Map[b.URL]; ok { |
