mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Bugfix access deleted branch in news page
#834 Bugfix access deleted branch in news abapgit page. When the news page try to access a branch that doesn't exist anymore in the remote we catch the belonging exception and return.
This commit is contained in:
parent
4c2b1a1d9c
commit
0728e9d915
|
@ -112,8 +112,13 @@ CLASS lcl_news IMPLEMENTATION.
|
||||||
|
|
||||||
lv_last_seen = lcl_app=>user( )->get_repo_last_change_seen( lv_url ).
|
lv_last_seen = lcl_app=>user( )->get_repo_last_change_seen( lv_url ).
|
||||||
|
|
||||||
|
TRY.
|
||||||
" Find changelog
|
" Find changelog
|
||||||
lt_remote = io_repo->get_files_remote( ).
|
lt_remote = io_repo->get_files_remote( ).
|
||||||
|
CATCH lcx_exception.
|
||||||
|
RETURN.
|
||||||
|
ENDTRY.
|
||||||
|
|
||||||
READ TABLE lt_remote ASSIGNING <file>
|
READ TABLE lt_remote ASSIGNING <file>
|
||||||
WITH KEY path = lc_log_path filename = lc_log_filename.
|
WITH KEY path = lc_log_path filename = lc_log_filename.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user