mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Improve error handling for delete_tadir (#2741)
* Improve error handling for delete_tadir * add TODO comment for delete tadir
This commit is contained in:
parent
abc43d4e5a
commit
6b7e4d62dd
|
@ -512,7 +512,17 @@ CLASS ZCL_ABAPGIT_OBJECTS IMPLEMENTATION.
|
|||
wi_tadir_pgmid = 'R3TR'
|
||||
wi_tadir_object = is_item-obj_type
|
||||
wi_tadir_obj_name = is_item-obj_name
|
||||
wi_test_modus = abap_false.
|
||||
wi_test_modus = abap_false
|
||||
EXCEPTIONS
|
||||
OTHERS = 1 ##FM_SUBRC_OK.
|
||||
|
||||
" We deliberately ignore the subrc, because throwing an exception would
|
||||
" break the deletion of lots of object types. On the other hand we have
|
||||
" to catch the exceptions because otherwise messages would directly be issued
|
||||
" by the function module and change the control flow. Thus breaking the
|
||||
" deletion of TOBJ and other object types.
|
||||
" TODO: This is not very clean and has to be improved in the future. See PR 2741.
|
||||
|
||||
ENDIF.
|
||||
ENDIF.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user