AFF: Fix exception handling (#5609)

Catch exceptions when calling `TADIR` deletion

Co-authored-by: Lars Hvam <larshp@hotmail.com>
This commit is contained in:
Marc Bernard 2022-06-02 10:06:01 +02:00 committed by GitHub
parent 380f297bc7
commit c88e1aba5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,7 +100,9 @@ CLASS zcl_abapgit_object_common_aff IMPLEMENTATION.
wi_tadir_object = ms_item-obj_type wi_tadir_object = ms_item-obj_type
wi_tadir_obj_name = ms_item-obj_name wi_tadir_obj_name = ms_item-obj_name
wi_tadir_devclass = ms_item-devclass wi_tadir_devclass = ms_item-devclass
wi_test_modus = abap_false. wi_test_modus = abap_false
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0. IF sy-subrc <> 0.
zcx_abapgit_exception=>raise_t100( ). zcx_abapgit_exception=>raise_t100( ).
ENDIF. ENDIF.