aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/logger.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/api/logger.go b/api/logger.go
index 5f49d29..11536e8 100644
--- a/api/logger.go
+++ b/api/logger.go
@@ -50,7 +50,8 @@ func Logger() gin.HandlerFunc {
50 level = logrus.ErrorLevel 50 level = logrus.ErrorLevel
51 } 51 }
52 52
53 errors := c.Errors.ByType(gin.ErrorTypePrivate) 53 errors := c.Errors
54 log.Infof("TMP %s '%v'", msgLog, errors)
54 55
55 for _, err := range errors { 56 for _, err := range errors {
56 l.Logf(level, "%s: %s", msgLog, err.Err) 57 l.Logf(level, "%s: %s", msgLog, err.Err)