Add refresh after pull errors (#5312)

* Add refresh after pull errors

Follow-up #5303

* Indent
This commit is contained in:
Marc Bernard 2022-02-01 10:41:58 -05:00 committed by GitHub
parent ec9ff1a29f
commit 5086b7226d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -360,8 +360,9 @@ CLASS zcl_abapgit_repo IMPLEMENTATION.
is_checks = is_checks
ii_log = ii_log ).
CATCH zcx_abapgit_exception INTO lx_error.
* ensure to reset default transport request task
" Ensure to reset default transport request task
zcl_abapgit_default_transport=>get_instance( )->reset( ).
refresh( iv_drop_log = abap_false ).
RAISE EXCEPTION lx_error.
ENDTRY.