about summary refs log tree commit diff stats
path: root/internal/server
diff options
context:
space:
mode:
authorAlan Pearce2024-06-29 19:11:56 +0200
committerAlan Pearce2024-06-29 19:11:56 +0200
commit7749962c24172c29fd8851afb86e923b5d5f369c (patch)
tree92588cd38cebaeba9aab70a0a0b43a19da289abd /internal/server
parentc4b57d28caa8986d9fbdcbdb4085c8e74974dffc (diff)
downloadwebsite-7749962c24172c29fd8851afb86e923b5d5f369c.tar.lz
website-7749962c24172c29fd8851afb86e923b5d5f369c.tar.zst
website-7749962c24172c29fd8851afb86e923b5d5f369c.zip
change error package
Diffstat (limited to 'internal/server')
-rw-r--r--internal/server/dev.go2
-rw-r--r--internal/server/server.go2
-rw-r--r--internal/server/tls.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/internal/server/dev.go b/internal/server/dev.go
index b984704..e83201a 100644
--- a/internal/server/dev.go
+++ b/internal/server/dev.go
@@ -13,7 +13,7 @@ import (
 	"go.alanpearce.eu/website/internal/log"
 
 	"github.com/fsnotify/fsnotify"
-	"github.com/pkg/errors"
+	"gitlab.com/tozd/go/errors"
 )
 
 type FileWatcher struct {
diff --git a/internal/server/server.go b/internal/server/server.go
index c17c8d6..6f933ef 100644
--- a/internal/server/server.go
+++ b/internal/server/server.go
@@ -21,7 +21,7 @@ import (
 
 	"github.com/ardanlabs/conf/v3"
 	"github.com/osdevisnot/sorvor/pkg/livereload"
-	"github.com/pkg/errors"
+	"gitlab.com/tozd/go/errors"
 )
 
 var (
diff --git a/internal/server/tls.go b/internal/server/tls.go
index d48b5df..7bd4a1c 100644
--- a/internal/server/tls.go
+++ b/internal/server/tls.go
@@ -14,7 +14,7 @@ import (
 	"github.com/caddyserver/caddy/v2"
 	"github.com/caddyserver/certmagic"
 	certmagic_redis "github.com/pberkel/caddy-storage-redis"
-	"github.com/pkg/errors"
+	"gitlab.com/tozd/go/errors"
 )
 
 type redisConfig struct {