This commit is contained in:
Marius Raht 2024-02-23 20:04:17 +01:00 committed by GitHub
parent 37390a521e
commit 301fdbb1b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -326,10 +326,7 @@ CLASS zcl_abapgit_http IMPLEMENTATION.
argument_not_found = 1
plugin_not_active = 2
internal_error = 3
pse_not_found = 4
pse_not_distrib = 5
pse_errors = 6
OTHERS = 7 ).
OTHERS = 4 ).
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
@ -338,22 +335,12 @@ CLASS zcl_abapgit_http IMPLEMENTATION.
lv_error = 'PLUGIN_NOT_ACTIVE'.
WHEN 3.
lv_error = 'INTERNAL_ERROR'.
WHEN 4.
lv_error = 'PSE_NOT_FOUND'.
WHEN 5.
lv_error = 'PSE_NOT_DISTRIB'.
WHEN 6.
lv_error = 'PSE_ERRORS'.
WHEN OTHERS.
lv_error = |OTHER_ERROR_{ sy-subrc }|.
ENDCASE.
IF sy-subrc BETWEEN 4 AND 6.
zcx_abapgit_exception=>raise_t100( iv_longtext = lv_longtext ).
ELSE.
zcx_abapgit_exception=>raise(
iv_text = |Error { lv_error } creating HTTP connection. Check the configuration|
iv_longtext = lv_longtext ).
ENDIF.
zcx_abapgit_exception=>raise(
iv_text = |Error { lv_error } creating HTTP connection. Check the configuration|
iv_longtext = lv_longtext ).
ENDIF.
ENDIF.