mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 18:19:33 +00:00
18 lines
587 B
Diff
18 lines
587 B
Diff
diff --git a/errors/errors.go b/errors/errors.go
|
|
index 3ca9988a6..4137fe7a2 100644
|
|
--- a/errors/errors.go
|
|
+++ b/errors/errors.go
|
|
@@ -94,10 +94,10 @@ func NotFoundError(msg string, args ...interface{}) error {
|
|
return New(NotFound, msg, args...)
|
|
}
|
|
|
|
-func RateLimitError(msg string, args ...interface{}) error {
|
|
+func RateLimitError(errURL string, msg string, args ...interface{}) error {
|
|
return &BoulderError{
|
|
Type: RateLimit,
|
|
- Detail: fmt.Sprintf(msg+": see https://letsencrypt.org/docs/rate-limits/", args...),
|
|
+ Detail: fmt.Sprintf(msg+": see "+errURL, args...),
|
|
}
|
|
}
|
|
|