From db4b0004437abb2d835b657ffdbd9bfa606fa277 Mon Sep 17 00:00:00 2001
From: Rohith <gambol99@gmail.com>
Date: Fri, 29 Jan 2016 13:41:06 +0000
Subject: [PATCH] - adding the error to the field labels

---
 handlers.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/handlers.go b/handlers.go
index 2c9e812..b6fa2dd 100644
--- a/handlers.go
+++ b/handlers.go
@@ -197,6 +197,7 @@ func (r *KeycloakProxy) authenticationHandler() gin.HandlerFunc {
 			fields := log.Fields{
 				"username":   userContext.name,
 				"expired_on": userContext.expiresAt.String(),
+				"error": err.Error(),
 			}
 
 			// step: if the error post verification is anything other than a token expired error
-- 
GitLab