summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/errors.go')
-rw-r--r--modules/caddyhttp/errors.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/caddyhttp/errors.go b/modules/caddyhttp/errors.go
index 9d1cf47..1538d43 100644
--- a/modules/caddyhttp/errors.go
+++ b/modules/caddyhttp/errors.go
@@ -20,15 +20,10 @@ import (
"path"
"runtime"
"strings"
- "time"
"github.com/caddyserver/caddy/v2"
)
-func init() {
- weakrand.Seed(time.Now().UnixNano())
-}
-
// Error is a convenient way for a Handler to populate the
// essential fields of a HandlerError. If err is itself a
// HandlerError, then any essential fields that are not