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