mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-02 04:36:49 +08:00
DDLS: Avoid dump and show error (#5437)
* DDLS: Avoid dump and show error Ref https://github.com/abapGit/abapGit/issues/4624 * Typo
This commit is contained in:
parent
453c430723
commit
3d158a3fbc
|
@ -320,10 +320,14 @@ CLASS zcl_abapgit_object_ddls IMPLEMENTATION.
|
||||||
|
|
||||||
CATCH cx_root INTO lx_error.
|
CATCH cx_root INTO lx_error.
|
||||||
IF lo_ddl IS NOT INITIAL.
|
IF lo_ddl IS NOT INITIAL.
|
||||||
|
" Attempt clean-up but catch error if it doesn't work
|
||||||
|
TRY.
|
||||||
CALL METHOD lo_ddl->('IF_DD_DDL_HANDLER~DELETE')
|
CALL METHOD lo_ddl->('IF_DD_DDL_HANDLER~DELETE')
|
||||||
EXPORTING
|
EXPORTING
|
||||||
name = ms_item-obj_name
|
name = ms_item-obj_name
|
||||||
prid = 0.
|
prid = 0.
|
||||||
|
CATCH cx_root ##NO_HANDLER.
|
||||||
|
ENDTRY.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
|
|
||||||
zcx_abapgit_exception=>raise_with_text( lx_error ).
|
zcx_abapgit_exception=>raise_with_text( lx_error ).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user