mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
BG: Ensure auth buffer is cleared even in error case (#6756)
This commit is contained in:
parent
c4639a3a12
commit
28b9225046
|
@ -147,14 +147,13 @@ CLASS zcl_abapgit_background IMPLEMENTATION.
|
|||
lo_repo->refresh(
|
||||
iv_drop_cache = abap_true
|
||||
iv_drop_log = abap_false ).
|
||||
|
||||
" Clear auth buffer to allow different user/password per repository in background mode
|
||||
zcl_abapgit_login_manager=>clear( ).
|
||||
|
||||
CATCH zcx_abapgit_exception INTO lx_error.
|
||||
li_log->add_exception( lx_error ).
|
||||
ENDTRY.
|
||||
|
||||
" Clear auth buffer to allow different user/password per repository in background mode
|
||||
zcl_abapgit_login_manager=>clear( ).
|
||||
|
||||
zcl_abapgit_log_viewer=>write_log( li_log ).
|
||||
ENDLOOP.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user