From 301fdbb1b6f97fb3ff874746a89344255a224ace Mon Sep 17 00:00:00 2001 From: Marius Raht <99023738+mraht@users.noreply.github.com> Date: Fri, 23 Feb 2024 20:04:17 +0100 Subject: [PATCH] Fix #6825 (#6826) --- src/http/zcl_abapgit_http.clas.abap | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/src/http/zcl_abapgit_http.clas.abap b/src/http/zcl_abapgit_http.clas.abap index 9eaaacee0..d2aca5c58 100644 --- a/src/http/zcl_abapgit_http.clas.abap +++ b/src/http/zcl_abapgit_http.clas.abap @@ -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.