From 89d831bb0e8582b1052c3639f7f937975cdc8ed2 Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Tue, 29 Sep 2015 15:00:49 +0300 Subject: [PATCH] Add logging to handle_errors #2932 --- app/controllers/epp_controller.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb index f73f1bd3d..e4ebcf66f 100644 --- a/app/controllers/epp_controller.rb +++ b/app/controllers/epp_controller.rb @@ -150,6 +150,10 @@ class EppController < ApplicationController end @errors.uniq! + + logger.error "\nFOLLOWING ERRORS OCCURRED ON EPP QUERY:" + logger.error @errors.inspect + logger.error "\n" # Requested by client, ticket #2688 # Known issues: error request is exactly 1 second slower and server can handle less load