Achilleas Koutsou 6 лет назад
Родитель
Сommit
2cdec72844
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      routes/doi.go

+ 1 - 1
routes/doi.go

@@ -22,7 +22,7 @@ func RequestDOI(c *context.Context) {
 	token := c.GetCookie(setting.SessionConfig.CookieName)
 	token, err := encrypt([]byte(setting.DOI.Key), token)
 	if err != nil {
-		log.Error(2, "Could not encrypt Secret key: %s", err)
+		log.Error(2, "Could not encrypt token for DOI request: %s", err)
 		c.Status(http.StatusInternalServerError)
 		return
 	}