From cf5630cbcee10f39f67aa9a7e7ab983352b3fc0f Mon Sep 17 00:00:00 2001 From: larshp Date: Tue, 13 Aug 2019 13:09:49 +0000 Subject: [PATCH] ecatt, show error instead of dumping #2862 --- src/objects/zcl_abapgit_object_ecatt_super.clas.abap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/objects/zcl_abapgit_object_ecatt_super.clas.abap b/src/objects/zcl_abapgit_object_ecatt_super.clas.abap index 8de237221..ace0fdcbf 100644 --- a/src/objects/zcl_abapgit_object_ecatt_super.clas.abap +++ b/src/objects/zcl_abapgit_object_ecatt_super.clas.abap @@ -359,6 +359,10 @@ CLASS ZCL_ABAPGIT_OBJECT_ECATT_SUPER IMPLEMENTATION. im_object_type = lv_object_type io_download = lo_download ). + IF lv_xml IS INITIAL. + zcx_abapgit_exception=>raise( |ECATT, empty xml, { mv_object_name }| ). + ENDIF. + li_document = cl_ixml_80_20=>parse_to_document( stream_xstring = lv_xml ). clear_attributes(