summaryrefslogtreecommitdiff
path: root/internal/web/thread.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/thread.go')
-rw-r--r--internal/web/thread.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/web/thread.go b/internal/web/thread.go
index 69c9674ff..a359107cc 100644
--- a/internal/web/thread.go
+++ b/internal/web/thread.go
@@ -19,6 +19,7 @@
package web
import (
+ "github.com/sirupsen/logrus"
"net/http"
"github.com/gin-gonic/gin"
@@ -31,7 +32,7 @@ type statusLink struct {
}
func (m *Module) threadTemplateHandler(c *gin.Context) {
- l := m.log.WithField("func", "threadTemplateGET")
+ l := logrus.WithField("func", "threadTemplateGET")
l.Trace("rendering thread template")
ctx := c.Request.Context()