mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
parent
37390a521e
commit
301fdbb1b6
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user