mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 18:29:40 +02:00
Log actual sent xml
This commit is contained in:
parent
05b2863c8e
commit
cf6ae27e3f
2 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ module Epp::Common
|
|||
def write_to_epp_log
|
||||
request_object = OBJECT_TYPES[params_hash['epp']['xmlns:ns2']] if params[:frame]
|
||||
ApiLog::EppLog.create({
|
||||
request: params[:frame],
|
||||
request: params[:raw_frame],
|
||||
request_command: params[:command],
|
||||
request_successful: epp_errors.empty?,
|
||||
request_object: request_object,
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
%pre
|
||||
- formatted_req = Nokogiri::XML(@epp_log.request)
|
||||
- if formatted_req.errors.none?
|
||||
= formatted_req.root
|
||||
= formatted_req
|
||||
- else
|
||||
= @epp_log.request
|
||||
.col-md-6
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue